1
0
Fork 0

snibox: sort out networks

This commit is contained in:
Lukáš Kucharczyk 2023-01-11 12:08:59 +01:00
parent 299a57e876
commit bfeda44a0c
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,8 @@ services:
- "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_INTERNAL_PORT}" - "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_INTERNAL_PORT}"
volumes: volumes:
- static-files:/var/www/html - static-files:/var/www/html
networks:
- default
depends_on: depends_on:
- backend - backend
@ -34,6 +36,7 @@ services:
volumes: volumes:
- static-files:/app/public - static-files:/app/public
networks: networks:
- default
- postgres - postgres
# depends_on: # depends_on:
# - database # - database
@ -44,6 +47,7 @@ services:
# - pg-data:/var/lib/postgresql/data # - pg-data:/var/lib/postgresql/data
networks: networks:
default:
postgres: postgres:
external: true external: true