snibox: sort out networks
This commit is contained in:
parent
299a57e876
commit
bfeda44a0c
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue