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