nextcloud: externalize config

This commit is contained in:
Schneider Roland 2024-11-01 22:59:57 +01:00
parent 7dbea8cf65
commit 3f1993f714
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
chown www-data:www-data //app-hooks/before-starting:/docker-entrypoint-hooks.d/before-starting

View File

@ -38,6 +38,7 @@ services:
volumes:
- nextcloud:/var/www/html
- ./config.php:/var/www/html/config/config.php:rw
- ./app-hooks/before-starting:/docker-entrypoint-hooks.d/before-starting
environment:
- MYSQL_PASSWORD=nextcloud
- MYSQL_DATABASE=nextcloud