Add network v2
This commit is contained in:
@@ -28,6 +28,12 @@ services:
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/healthchecks/config:/config
|
||||
ports:
|
||||
- "${PORT}:8000"
|
||||
- "${SMTP_PORT}:2525"
|
||||
- ${PORT}:8000
|
||||
- ${SMTP_PORT}:2525
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
|
@@ -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
|
||||
|
@@ -10,6 +10,8 @@ services:
|
||||
- ${APPDATA_PATH}/opengist/db:/var/lib/postgresql/data
|
||||
ports:
|
||||
- ${DB_PORT}:5432
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||
@@ -42,4 +44,13 @@ services:
|
||||
- ${APPDATA_PATH}/opengist/data:/opengist
|
||||
ports:
|
||||
- ${SERVER_PORT}:6157
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
backend:
|
||||
external: true
|
||||
|
@@ -9,5 +9,11 @@ services:
|
||||
- ${APPDATA_PATH}/pingvin-share/images:/opt/app/frontend/public/img
|
||||
- ${DATA_PATH}:/opt/app/backend/data
|
||||
ports:
|
||||
- "${PORT}:3000"
|
||||
- ${PORT}:3000
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
|
@@ -23,8 +23,14 @@ services:
|
||||
- ${APPDATA_PATH}/radicale/config:/config:ro
|
||||
ports:
|
||||
- ${PORT}:5232
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: curl -f http://127.0.0.1:5232 || exit 1
|
||||
interval: 30s
|
||||
retries: 3
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
|
@@ -6,12 +6,14 @@ services:
|
||||
- DOCKER_ENABLE_SECURITY=${DOCKER_ENABLE_SECURITY}
|
||||
- SECURITY_ENABLELOGIN=${SECURITY_ENABLELOGIN}
|
||||
- LANGS=${LANGS}
|
||||
ports:
|
||||
- "${PORT}:8080"
|
||||
volumes:
|
||||
- ${APPDATA_DATA}/stirling-pdf/training_data:/usr/share/tessdata
|
||||
- ${APPDATA_DATA}/stirling-pdf/config:/configs
|
||||
- ${APPDATA_DATA}/stirling-pdf/custom_files:/customFiles/
|
||||
- ${APPDATA_DATA}/stirling-pdf/logs:/logs/
|
||||
- ${APPDATA_DATA}/stirling-pdf/pipeline:/pipeline/
|
||||
ports:
|
||||
- ${PORT}:8080
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
|
@@ -8,5 +8,11 @@ services:
|
||||
- ${APPDATA_PATH}/syncyomi/config:/config
|
||||
- ${APPDATA_PATH}/syncyomi/log:/log
|
||||
ports:
|
||||
- "${PORT}:8282"
|
||||
- ${PORT}:8282
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
|
@@ -5,5 +5,11 @@ services:
|
||||
volumes:
|
||||
- ${APPDATA_PATH}/uptime-kuma/config:/app/data
|
||||
ports:
|
||||
- "${PORT}:3001"
|
||||
- ${PORT}:3001
|
||||
networks:
|
||||
- frontend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
|
@@ -10,6 +10,8 @@ services:
|
||||
- ${APPDATA_PATH}/vaultwarden/db:/var/lib/postgresql/data
|
||||
ports:
|
||||
- ${DB_PORT}:5432
|
||||
networks:
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -d ${POSTGRES_DB} -U ${POSTGRES_USER}"]
|
||||
@@ -38,4 +40,13 @@ services:
|
||||
- ${APPDATA_PATH}/vaultwarden/data:/data/
|
||||
ports:
|
||||
- ${SERVER_PORT}:80
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
frontend:
|
||||
external: true
|
||||
backend:
|
||||
external: true
|
||||
|
Reference in New Issue
Block a user