database volume

This commit is contained in:
Frank
2026-01-09 16:53:47 +01:00
parent 12e87edc4d
commit ea54c87426
2 changed files with 4 additions and 3 deletions

View File

@@ -99,7 +99,7 @@ services:
start_period: 30s
command: ["--default-authentication-plugin=mysql_native_password", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
volumes:
- database_data:/var/lib/mysql:rw
- ../var/volumes/db:/var/lib/mysql:rw
- ./mysql/init:/docker-entrypoint-initdb.d:ro
# Uncomment the two lines below if you need to access MySQL from your host (workbench, etc.)
ports:
@@ -110,9 +110,7 @@ services:
restart: unless-stopped
###< doctrine/doctrine-bundle ###
volumes:
###> doctrine/doctrine-bundle ###
database_data:
###< doctrine/doctrine-bundle ###
networks: