mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 07:45:09 +00:00
Make database persistent
This commit is contained in:
parent
5ec9f36509
commit
1bbcc430fd
2 changed files with 2 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
/frappe-bench/**/*
|
/frappe-bench/**/*
|
||||||
!/frappe-bench/Procfile_docker
|
!/frappe-bench/Procfile_docker
|
||||||
!/frappe-bench/sites/common_site_config_docker.json
|
!/frappe-bench/sites/common_site_config_docker.json
|
||||||
|
/data_dir
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ services:
|
||||||
- MYSQL_USER=root
|
- MYSQL_USER=root
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
||||||
|
- ./data_dir:/var/lib/mysql
|
||||||
ports:
|
ports:
|
||||||
- "3307:3306" #mariadb-port
|
- "3307:3306" #mariadb-port
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue