mirror of
https://github.com/opencloud-eu/opencloud-compose.git
synced 2026-12-06 01:43:12 +08:00
fix: tell traefik which network to reach opencloud through (#411)
* fix: tell traefik which network to reach opencloud through with imagor * fix: drop the comment * fix: set the traefik network on the opencloud service itself
This commit is contained in:
@@ -3,6 +3,7 @@ services:
|
||||
opencloud:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_opencloud-net"
|
||||
# define middleware here, to make sure its loaded with the first defined container (opencloud)
|
||||
# if defined in the traefik container with a disabled dashboard it won't be loaded fast enough
|
||||
- "traefik.http.middlewares.hsts-header.headers.stsSeconds=31536000"
|
||||
|
||||
Reference in New Issue
Block a user