Files
docker-compose/.archived/opengist/docker-compose.yml
T

56 lines
1.5 KiB
YAML
Raw Normal View History

2025-07-04 22:30:46 +05:30
services:
opengist_db:
container_name: opengist_db
2025-07-13 18:35:45 +05:30
image: docker.io/library/postgres:17.5
restart: unless-stopped
2025-07-04 22:30:46 +05:30
environment:
2025-07-19 20:34:39 +05:30
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB}
2025-07-04 22:30:46 +05:30
volumes:
2025-07-19 20:34:39 +05:30
- ${APPDATA_PATH}/opengist/db:/var/lib/postgresql/data
2025-07-20 18:24:18 +05:30
networks:
- backend
2025-07-04 22:30:46 +05:30
healthcheck:
2025-07-07 11:56:01 +05:30
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
2025-07-19 20:34:39 +05:30
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
2025-07-04 22:30:46 +05:30
2025-08-03 15:56:00 +05:30
opengist:
container_name: opengist
2025-07-13 18:35:45 +05:30
image: ghcr.io/thomiceli/opengist:1.10.0
restart: unless-stopped
2025-07-04 22:30:46 +05:30
depends_on:
2025-07-04 22:32:31 +05:30
opengist_db:
2025-07-19 20:34:39 +05:30
condition: service_healthy
2025-07-04 22:30:46 +05:30
environment:
2025-07-19 20:34:39 +05:30
- UID=${UID}
- GID=${GID}
- OG_DB_URI=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@opengist_db:5432/${POSTGRES_DB}
2025-08-03 15:56:00 +05:30
- OG_EXTERNAL_URL=${OG_EXTERNAL_URL}
2025-07-19 20:34:39 +05:30
- OG_SECRET_KEY=${OG_SECRET_KEY}
- OG_HTTP_GIT_ENABLED=${OG_HTTP_GIT_ENABLED}
- OG_SSH_GIT_ENABLED=${OG_SSH_GIT_ENABLED}
- OG_GITEA_CLIENT_KEY=${OG_GITEA_CLIENT_KEY}
- OG_GITEA_SECRET=${OG_GITEA_SECRET}
- OG_GITEA_URL=${OG_GITEA_URL}
- OG_GITEA_NAME=${OG_GITEA_NAME}
2025-07-25 17:25:32 +05:30
- OG_CUSTOM_STATIC_LINK_0_NAME=Gitea
- OG_CUSTOM_STATIC_LINK_0_PATH=${OG_GITEA_URL}
2025-07-04 22:30:46 +05:30
volumes:
- ${APPDATA_PATH}/opengist/data:/opengist
ports:
2025-07-19 20:34:39 +05:30
- ${SERVER_PORT}:6157
2025-08-03 15:56:00 +05:30
- ${SSH_PORT}:2222
2025-07-20 18:24:18 +05:30
networks:
- frontend
- backend
networks:
frontend:
external: true
backend:
external: true