diff --git a/compose.yml b/compose.yml index e89c5f4..a38466c 100644 --- a/compose.yml +++ b/compose.yml @@ -16,21 +16,22 @@ services: - target: 21116 published: 21116 mode: host - - target: 21116/udp - published: 21116/udp + - target: 21116 + published: 21116 mode: host - - target: 21117 - published: 21117 + protocol: udp + - target: 21118 + published: 21118 mode: host deploy: restart_policy: condition: on-failure labels: - # - "traefik.enable=true" - # - "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" - # - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" + - "traefik.enable=true" + - "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" + - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" ## Redirect from EXTRA_DOMAINS to DOMAIN #- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect" #- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"