2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-13 00:36:26 +00:00
frappe_docker/.devcontainer/docker-compose.yml
africlouds a5b8db6137
Set /workspace/development as default working dir
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
2020-06-09 07:33:20 +02:00

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: