diff --git a/traefik/opencloud.yml b/traefik/opencloud.yml index 1e991c8..0a2b0c9 100644 --- a/traefik/opencloud.yml +++ b/traefik/opencloud.yml @@ -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"