[nextcloud] Add internal network

This commit is contained in:
JuliusFreudenberger 2022-02-12 21:57:20 +01:00
parent 9ace5ec0c4
commit 441c3c31f8

View file

@ -9,6 +9,8 @@ services:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
networks:
- nextcloud
app: app:
image: nextcloud:${nextcloud_version:-latest} image: nextcloud:${nextcloud_version:-latest}
@ -24,11 +26,13 @@ services:
- db - db
networks: networks:
- webproxy - webproxy
- nextcloud
networks: networks:
webproxy: nextcloud:
external: webproxy:
name: webproxy external: true
name: webproxy
volumes: volumes:
postgres_data: postgres_data: