2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-19 18:49:01 +00:00
frappe_docker/.devcontainer/docker-compose.yml
africlouds aa8e7d374c
Build frappe with Dockerfile
- Build frappe image using development Dockerfile instead of bench:latest image
- Exposing port range
2020-06-10 09:22:47 +02:00

33 lines
606 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:
build: .
command: sleep infinity
volumes:
- ..:/workspace:cached
working_dir: /workspace/development
ports:
- "8000-8005:8000-8005"
- "9000-9005:9000-9005"
volumes:
mariadb-vol: