Ads networks for gitea,opengist
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user