Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ONLYOFFICE/docker-onlyoffice-nextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortvollscw <40273125+tvollscw@users.noreply.github.com>2018-10-02 23:33:49 +0300
committerGitHub <noreply@github.com>2018-10-02 23:33:49 +0300
commit63de0b13b8c4107acc56c74a9b21ae00205ab82c (patch)
tree74e9cbac8f069bd5343b73136891e808e93195b9
parent0b0ed1b72dbb1db74eba27ee751b183da1447a01 (diff)
Added MySQL to be included
Added MySQL so that it is easier to spin up an instant solution
-rw-r--r--docker-compose.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index b1c77a5..a2ea570 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -41,6 +41,18 @@ services:
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
- app_data:/var/www/html
+ db:
+ image: mariadb
+ restart: always
+ volumes:
+ - db:/var/lib/mysql
+ environment:
+ - MYSQL_ROOT_PASSWORD=MyR00tSQ1!
+ - MYSQL_PASSWORD=N3xtCl0ud!
+ - MYSQL_DATABASE=nextcloud
+ - MYSQL_USER=nextcloud
+ networks:
+ - onlyoffice
networks:
onlyoffice:
driver: 'bridge'