Update compose file orders

This commit is contained in:
2025-07-13 18:35:45 +05:30
parent fb28d1ce31
commit 7870863b52
21 changed files with 74 additions and 73 deletions

View File

@@ -1,7 +1,8 @@
services:
opengist_db:
image: docker.io/library/postgres:17.5
container_name: opengist_db
image: docker.io/library/postgres:17.5
restart: unless-stopped
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
@@ -12,17 +13,17 @@ services:
- ${DB_PORT}:5432
networks:
- backend
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
start_period: 10s
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
opengist_server:
image: ghcr.io/thomiceli/opengist:1.10.0
container_name: opengist_server
image: ghcr.io/thomiceli/opengist:1.10.0
restart: unless-stopped
depends_on:
opengist_db:
condition: service_healthy
@@ -48,7 +49,6 @@ services:
networks:
- frontend
- backend
restart: unless-stopped
networks:
frontend: