Really add the external volume to mysql.

This commit is contained in:
Andrea Dell'Amico 2023-05-22 20:56:08 +02:00
parent 397d2fcba4
commit ed8d8d420f
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,9 @@ services:
image: mysql:latest image: mysql:latest
networks: networks:
- {{ bc_ufish_docker_network }} - {{ bc_ufish_docker_network }}
volumes:
- {{ bc_ufish_db_volume }}:/var/lib/mysql
environment: environment:
MYSQL_ROOT_PASSWORD: {{ bc_ufish_mysql_root_password }} MYSQL_ROOT_PASSWORD: {{ bc_ufish_mysql_root_password }}
MYSQL_PORT: 3306 MYSQL_PORT: 3306