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

7
.env
View File

@@ -1,8 +1,9 @@
# Set UID and GID From Git system user account here
GITEA_UID=113
GITEA_GID=122
GITEA_UID=106
GITEA_GID=113
# DB
POSTGRES_PASSWORD=ChangeMe!
POSTGRES_PASSWORD='Dn32ps$EmcGsw'
POSTGRES_DB=gitea
POSTGRES_USER=gitea

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