fix: networks?

This commit is contained in:
Didier Slof 2023-01-31 09:51:36 +01:00
parent 6638346589
commit d03fb94ef7
Signed by: didier
GPG key ID: 01E71F18AA4398E5

View file

@ -1,4 +1,8 @@
version: '2.2'
networks:
cloud:
services:
nextcloud-db:
image: mariadb:10.5
@ -11,12 +15,12 @@ services:
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
networks:
- cloud
nextcloud:
image: nextcloud
restart: always
links:
- nextcloud-db
volumes:
- /srv/nextcloud/data:/var/www/html
environment:
@ -28,3 +32,4 @@ services:
- VIRTUAL_HOST=cloud.ixvd.net
networks:
- proxy
- cloud