Create a nextcloud app with docker-compose

This commit is contained in:
2020-11-22 23:14:54 +00:00
parent 44263c250f
commit db7c5c3deb
13 changed files with 2482 additions and 27 deletions

7
db/init/01-databases.sql Normal file
View File

@@ -0,0 +1,7 @@
CREATE DATABASE IF NOT EXISTS `monica`;
# Nextcloud will automatically create a database on setup
#CREATE DATABASE IF NOT EXISTS `nextcloud`;
GRANT ALL PRIVILEGES ON *.* TO 'chris'@'%';
GRANT ALL ON `nextcloud`.* TO 'chris'@'%' ;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';