Containernamen und Zugangsdaten für Datenbank hinzugefügt
This commit is contained in:
parent
9ed56eafc4
commit
4c4e7ab237
|
@ -15,10 +15,11 @@ services:
|
|||
volumes:
|
||||
- /opt/appdata/nextcloud/mysql:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=
|
||||
- MYSQL_PASSWORD=
|
||||
- MYSQL_ROOT_PASSWORD=nextcloud
|
||||
- MYSQL_PASSWORD=nextcloud
|
||||
- MYSQL_DATABASE=nextcloud
|
||||
- MYSQL_USER=nextcloud
|
||||
container_name: nextcloud-db-bmen-cc
|
||||
|
||||
app:
|
||||
image: nextcloud:fpm
|
||||
|
@ -26,6 +27,7 @@ services:
|
|||
- db
|
||||
volumes:
|
||||
- /opt/appdata/nextcloud/www:/var/www/html
|
||||
container_name: nextcloud-bmen-cc
|
||||
restart: always
|
||||
|
||||
web:
|
||||
|
@ -40,4 +42,5 @@ services:
|
|||
- /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
volumes_from:
|
||||
- app
|
||||
container_name: nextcloud-nginx-bmen-cc
|
||||
restart: always
|
||||
|
|
Loading…
Reference in New Issue