Update opengist
This commit is contained in:
@@ -9,8 +9,6 @@ services:
|
||||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/opengist/db:/var/lib/postgresql/data
|
||||
ports:
|
||||
- ${DB_PORT}:5432
|
||||
networks:
|
||||
- backend
|
||||
healthcheck:
|
||||
@@ -20,25 +18,18 @@ services:
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
|
||||
opengist_server:
|
||||
container_name: opengist_server
|
||||
opengist:
|
||||
container_name: opengist
|
||||
image: ghcr.io/thomiceli/opengist:1.10.0
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
opengist_db:
|
||||
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:
|
||||
- UID=${UID}
|
||||
- GID=${GID}
|
||||
- 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_HTTP_GIT_ENABLED=${OG_HTTP_GIT_ENABLED}
|
||||
- OG_SSH_GIT_ENABLED=${OG_SSH_GIT_ENABLED}
|
||||
@@ -52,7 +43,7 @@ services:
|
||||
- ${APPDATA_PATH}/opengist/data:/opengist
|
||||
ports:
|
||||
- ${SERVER_PORT}:6157
|
||||
- 2222:2222
|
||||
- ${SSH_PORT}:2222
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
@@ -62,4 +53,3 @@ networks:
|
||||
external: true
|
||||
backend:
|
||||
external: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user