Corrected docker-compose.yml

The mysql folder should not be mounted to the npm container!
This commit is contained in:
andycandy-de 2023-07-25 18:00:48 +02:00 committed by GitHub
parent 5454352fe5
commit b1180f5077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -139,7 +139,7 @@ services:
# MYSQL_PASSWORD: "npm" # use secret instead # MYSQL_PASSWORD: "npm" # use secret instead
MYSQL_PASSWORD__FILE: /run/secrets/MYSQL_PWD MYSQL_PASSWORD__FILE: /run/secrets/MYSQL_PWD
volumes: volumes:
- ./data/mysql:/var/lib/mysql - ./mysql:/var/lib/mysql
secrets: secrets:
- DB_ROOT_PWD - DB_ROOT_PWD
- MYSQL_PWD - MYSQL_PWD