fix: networks?
This commit is contained in:
parent
6638346589
commit
d03fb94ef7
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Reference in a new issue