Ads networks for gitea,opengist

This commit is contained in:
2025-07-20 18:24:18 +05:30
parent 0ef435ea5c
commit 160c2f5d8d
2 changed files with 23 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ services:
- ${APPDATA_PATH}/gitea/db:/var/lib/postgresql/data
ports:
- ${DB_PORT}:5432
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
interval: 10s
@@ -40,3 +42,12 @@ services:
ports:
- ${SERVER_PORT}:3000
- ${SSH_PORT}:22
networks:
- frontend
- backend
networks:
frontend:
external: true
backend:
external: true

View File

@@ -11,6 +11,8 @@ services:
- ${APPDATA_PATH}/opengist/db:/var/lib/postgresql/data
ports:
- ${DB_PORT}:5432
networks:
- backend
healthcheck:
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
interval: 10s
@@ -44,3 +46,13 @@ services:
ports:
- ${SERVER_PORT}:6157
- 2222:2222
networks:
- frontend
- backend
networks:
frontend:
external: true
backend:
external: true