Updated all containers to bring inline with needed Traefik config

This commit is contained in:
2023-08-07 23:01:29 +01:00
parent 97b4dc6a66
commit 7a553128b1
5 changed files with 30 additions and 46 deletions

View File

@ -11,6 +11,8 @@ services:
- /etc/localtime:/etc/localtime:ro
networks:
- proxy
depends_on:
- traefik
ports:
- "222:22"
environment:
@ -30,7 +32,7 @@ services:
## Expose Gitea Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.services.gitea.loadbalancer.server.port=3000"
- "traefik.http.routers.gitea.rule=Host(`test.luke-else.co.uk`)"
- "traefik.http.routers.gitea.rule=Host(`test.luke-else.co.uk`) || Host(`www.test.luke-else.co.uk`)"
- "traefik.http.routers.gitea.entrypoints=websecure"
- "traefik.http.routers.gitea.tls.certresolver=myresolver"
restart: unless-stopped