diff --git a/docker-compose.yml b/docker-compose.yml index 0c05682..14333e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,8 +9,8 @@ - nextcloud-database environment: - MYSQL_HOST=cloud - - MYSQL_DATABASE=${NEXTCLOUD_DATABASE_NAME} - - MYSQL_USER=${NEXTCLOUD_DATABASE_USER} + - MYSQL_DATABASE=cloud + - MYSQL_USER=cloud - MYSQL_PASSWORD=${NEXTCLOUD_DATABASE_PASSWORD} - NEXTCLOUD_ADMIN_USER=${NEXTCLOUD_ADMIN_USER} - NEXTCLOUD_ADMIN_PASSWORD=${NEXTCLOUD_ADMIN_PASSWORD} @@ -33,8 +33,8 @@ command: mysqld --skip-name-resolve --skip-host-cache --log-warnings=0 environment: - MYSQL_ROOT_PASSWORD=${NEXTCLOUD_DATABASE_ROOT} - - MYSQL_DATABASE=${NEXTCLOUD_DATABASE_NAME} - - MYSQL_USER=${NEXTCLOUD_DATABASE_USER} + - MYSQL_DATABASE=cloud + - MYSQL_USER=cloud - MYSQL_PASSWORD=${NEXTCLOUD_DATABASE_PASSWORD} volumes: - nextcloud-db-vol-1:/var/lib/mysql/