From 56e5127c9eb78c6ba4f4fd3b87cd778401d2d6c7 Mon Sep 17 00:00:00 2001 From: tetebueno Date: Wed, 9 Dec 2020 08:37:26 -0300 Subject: [PATCH] Environment variables in docker-compose section Docker-compose file in the example was missing database configuration environment variables of the app container, making the stack to use SQLite by default instead of the DB container. Didn't add `NEXTCLOUD_ADMIN_*` variables since this addresses the DB being configured with SQLite. This still works setting up admin credentials on first NC run. Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com> --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b6df7180..492ae290 100644 --- a/README.md +++ b/README.md @@ -241,9 +241,14 @@ services: - 8080:80 links: - db + restart: always volumes: - nextcloud:/var/www/html - restart: always + environment: + - MYSQL_PASSWORD= + - MYSQL_DATABASE=nextcloud + - MYSQL_USER=nextcloud + - MYSQL_HOST=db ```