mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-13 00:36:26 +00:00
a5b8db6137
When one misses the part of the doc that says bench should be created under /workspace/development, bench is created in home directory and the work would be lost when the container is recreated. Making the directory default would avert that
33 lines
604 B
YAML
33 lines
604 B
YAML
version: "3.7"
|
|
services:
|
|
mariadb:
|
|
image: mariadb:10.3
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=123
|
|
- MYSQL_USER=root
|
|
volumes:
|
|
- ../installation/frappe-mariadb.cnf:/etc/mysql/conf.d/frappe.cnf
|
|
- mariadb-vol:/var/lib/mysql
|
|
|
|
redis-cache:
|
|
image: redis:alpine
|
|
|
|
redis-queue:
|
|
image: redis:alpine
|
|
|
|
redis-socketio:
|
|
image: redis:alpine
|
|
|
|
frappe:
|
|
image: frappe/bench:latest
|
|
command: sleep infinity
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
working_dir: /workspace/development
|
|
ports:
|
|
- "8000:8000"
|
|
- "9000:9000"
|
|
|
|
volumes:
|
|
mariadb-vol:
|