Add network (#6)
Add network Reviewed-on: #6 Co-authored-by: ryuupendragon <ryuu@ryuu.in> Co-committed-by: ryuupendragon <ryuu@ryuu.in>
This commit is contained in:
@@ -12,6 +12,8 @@ services:
|
||||
- ${APPDATA_PATH}/opengist/db:/var/lib/mysql
|
||||
ports:
|
||||
- ${DB_PORT}:3306
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
@@ -44,4 +46,13 @@ services:
|
||||
- ${APPDATA_PATH}/opengist/data:/opengist
|
||||
ports:
|
||||
- ${SERVER_PORT}:6157
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
backend:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user