Update gitea
This commit is contained in:
@@ -9,8 +9,6 @@ services:
|
|||||||
- POSTGRES_DB=${POSTGRES_DB}
|
- POSTGRES_DB=${POSTGRES_DB}
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPDATA_PATH}/gitea/db:/var/lib/postgresql/data
|
- ${APPDATA_PATH}/gitea/db:/var/lib/postgresql/data
|
||||||
ports:
|
|
||||||
- ${DB_PORT}:5432
|
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -20,21 +18,14 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|
||||||
gitea_server:
|
gitea:
|
||||||
container_name: gitea_server
|
container_name: gitea
|
||||||
image: docker.io/gitea/gitea:1.24.3-rootless
|
image: docker.io/gitea/gitea:1.24.3-rootless
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
depends_on:
|
depends_on:
|
||||||
gitea_db:
|
gitea_db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
user: ${PUID}:${PGID}
|
user: ${PUID}:${PGID}
|
||||||
labels:
|
|
||||||
- traefik-instance=${TRAEFIK_INSTANCE}
|
|
||||||
- traefik.enable=true
|
|
||||||
- traefik.http.routers.gitea.rule=Host(`${TRAEFIK_DOMAIN}`)
|
|
||||||
- traefik.http.routers.gitea.entrypoints=websecure
|
|
||||||
- traefik.http.services.gitea.loadbalancer.server.port=3000
|
|
||||||
- traefik.docker.network=frontend
|
|
||||||
environment:
|
environment:
|
||||||
- GITEA__database__DB_TYPE=postgres
|
- GITEA__database__DB_TYPE=postgres
|
||||||
- GITEA__database__HOST=gitea_db:5432
|
- GITEA__database__HOST=gitea_db:5432
|
||||||
|
|||||||
Reference in New Issue
Block a user