mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-18 22:25: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/Procfile_docker
|
||||
!/frappe-bench/sites/common_site_config_docker.json
|
||||
/data_dir
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
- MYSQL_USER=root
|
||||
volumes:
|
||||
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
||||
- ./data_dir:/var/lib/mysql
|
||||
ports:
|
||||
- "3307:3306" #mariadb-port
|
||||
container_name: mariadb
|
||||
|
|
|
|||
Loading…
Reference in a new issue