This commit is contained in:
christoph
2023-01-24 11:23:35 +01:00
parent e276d57f06
commit 014065632d
2 changed files with 9 additions and 8 deletions

View File

@@ -5,10 +5,10 @@ services:
db:
image: postgres:14-alpine
restart: always
#environment:
#- POSTGRES_USER=${POSTGRES_USER}
#- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
#- POSTGRES_DB=${POSTGRES_DB}
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
networks:
- default
volumes:
@@ -41,7 +41,7 @@ services:
labels:
- traefik.enable=true
- traefik.http.routers.gitea.rule=Host(`gitea.example.com`)
- traefik.http.routers.gitea.rule=Host(`gitea.cthsg.de`)
- traefik.http.routers.gitea.tls.certResolver=le
- traefik.http.routers.gitea.service=gitea
- traefik.http.services.gitea.loadbalancer.server.port=3000