Trying out this config
All checks were successful
Remote Deployment Pipeline / Prepare deployment vars (pull_request) Successful in 2s
Remote Deployment Pipeline / Create remote directory (pull_request) Successful in 9s
Remote Deployment Pipeline / Cleanup MR environment (pull_request) Has been skipped
Remote Deployment Pipeline / Sync repository files (pull_request) Successful in 20s
Remote Deployment Pipeline / Run docker-compose remotely (Dev) (pull_request) Successful in 10s
Remote Deployment Pipeline / Run docker-compose remotely (Staging) (pull_request) Has been skipped
Remote Deployment Pipeline / Run docker-compose remotely (Prod) (pull_request) Has been skipped

This commit is contained in:
2025-11-25 11:13:23 +01:00
parent 931008367d
commit e2c67a605f

View File

@@ -13,6 +13,15 @@ services:
- "--providers.docker.network=proxy"
- "--providers.docker.constraints=Label(`env`, `${ENV}`)"
- "--entryPoints.web.address=:80"
- --entryPoints=Name:http Address::80 Redirect.EntryPoint:https
- --entryPoints=Name:https Address::443 TLS
- --defaultentrypoints=https,http
- --docker.watch=true
- --acme.email=kovagoadi@gmail.com
- --acme.storage=acme.json
- --acme.entryPoint=https
- --acme.onHostRule=true
- --acme.httpchallenge.entrypoint=http
ports:
- "${PORT}:80"
- "8080"
@@ -27,7 +36,7 @@ services:
labels:
- "env=${ENV}"
- "traefik.enable=true"
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
- "traefik.http.routers.whoami.rule=Host(`test.staging.kovaogoadi.hu`)"
- "traefik.http.routers.whoami.entrypoints=web"
networks:
proxy: