diff --git a/.env.sample b/.env.sample index 3a978b0..c7eb371 100644 --- a/.env.sample +++ b/.env.sample @@ -1,6 +1,6 @@ TYPE=custom-html-tiny -DOMAIN={{ .Domain }} +DOMAIN=custom-html-tiny.example.com ## Domain aliases #EXTRA_DOMAINS=', `www.custom-html.example.com`' diff --git a/compose.yml b/compose.yml index 5987764..635e096 100644 --- a/compose.yml +++ b/compose.yml @@ -12,6 +12,7 @@ services: condition: on-failure labels: - "traefik.enable=true" + - "traefik.swarm.network=proxy" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"