diff --git a/docker-compose.yml b/docker-compose.yml index 0164bd6..1d41e5c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -38,6 +38,14 @@ services: - AUCTION_WORKFLOW_CLOSING_ALERTS_CRON=0 */5 * * * ? - JAVA_TOOL_OPTIONS=-Dio.netty.tryReflectionSetAccessible=true --enable-native-access=ALL-UNNAMED --sun-misc-unsafe-memory-access=allow + labels: + - "traefik.enable=true" + - "traefik.http.routers.sophena.rule=Host(`auctiora.appmodel.nl`)" + - "traefik.http.routers.sophena.entrypoints=websecure" + - "traefik.http.routers.sophena.tls=true" + - "traefik.http.routers.sophena.tls.certresolver=letsencrypt" + - "traefik.http.services.sophena.loadbalancer.server.port=8081" + healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/health/live"] interval: 30s