mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-12-23 10:38:58 +00:00
aa8e7d374c
- Build frappe image using development Dockerfile instead of bench:latest image - Exposing port range
33 lines
606 B
YAML
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:
|