Update opengist

This commit is contained in:
2025-08-03 15:56:00 +05:30
parent ad1240028d
commit 343aad6879

View File

@@ -9,8 +9,6 @@ services:
- POSTGRES_DB=${POSTGRES_DB} - POSTGRES_DB=${POSTGRES_DB}
volumes: volumes:
- ${APPDATA_PATH}/opengist/db:/var/lib/postgresql/data - ${APPDATA_PATH}/opengist/db:/var/lib/postgresql/data
ports:
- ${DB_PORT}:5432
networks: networks:
- backend - backend
healthcheck: healthcheck:
@@ -20,25 +18,18 @@ services:
retries: 3 retries: 3
start_period: 10s start_period: 10s
opengist_server: opengist:
container_name: opengist_server container_name: opengist
image: ghcr.io/thomiceli/opengist:1.10.0 image: ghcr.io/thomiceli/opengist:1.10.0
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
opengist_db: opengist_db:
condition: service_healthy condition: service_healthy
labels:
- traefik-instance=${TRAEFIK_INSTANCE}
- traefik.enable=true
- traefik.http.routers.opengist.rule=Host(`${TRAEFIK_DOMAIN}`)
- traefik.http.routers.opengist.entrypoints=websecure
- traefik.http.services.opengist.loadbalancer.server.port=6157
- traefik.docker.network=frontend
environment: environment:
- UID=${UID} - UID=${UID}
- GID=${GID} - GID=${GID}
- OG_DB_URI=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@opengist_db:5432/${POSTGRES_DB} - OG_DB_URI=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@opengist_db:5432/${POSTGRES_DB}
- OG_EXTERNAL_URL=https://${TRAEFIK_DOMAIN} - OG_EXTERNAL_URL=${OG_EXTERNAL_URL}
- OG_SECRET_KEY=${OG_SECRET_KEY} - OG_SECRET_KEY=${OG_SECRET_KEY}
- OG_HTTP_GIT_ENABLED=${OG_HTTP_GIT_ENABLED} - OG_HTTP_GIT_ENABLED=${OG_HTTP_GIT_ENABLED}
- OG_SSH_GIT_ENABLED=${OG_SSH_GIT_ENABLED} - OG_SSH_GIT_ENABLED=${OG_SSH_GIT_ENABLED}
@@ -52,7 +43,7 @@ services:
- ${APPDATA_PATH}/opengist/data:/opengist - ${APPDATA_PATH}/opengist/data:/opengist
ports: ports:
- ${SERVER_PORT}:6157 - ${SERVER_PORT}:6157
- 2222:2222 - ${SSH_PORT}:2222
networks: networks:
- frontend - frontend
- backend - backend
@@ -62,4 +53,3 @@ networks:
external: true external: true
backend: backend:
external: true external: true