diff options
author | tvollscw <40273125+tvollscw@users.noreply.github.com> | 2018-10-02 23:33:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 23:33:49 +0300 |
commit | 63de0b13b8c4107acc56c74a9b21ae00205ab82c (patch) | |
tree | 74e9cbac8f069bd5343b73136891e808e93195b9 | |
parent | 0b0ed1b72dbb1db74eba27ee751b183da1447a01 (diff) |
Added MySQL to be included
Added MySQL so that it is easier to spin up an instant solution
-rw-r--r-- | docker-compose.yml | 12 |
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' |