2020-03-05 16:09:03 +00:00
|
|
|
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
|
|
|
|
|
2020-08-01 05:26:03 +00:00
|
|
|
# Enable PostgreSQL only if you use it, see development/README.md for more information.
|
|
|
|
# postgresql:
|
|
|
|
# image: postgres:11.8
|
|
|
|
# restart: on-failure
|
|
|
|
# environment:
|
|
|
|
# - POSTGRES_PASSWORD=123
|
|
|
|
# volumes:
|
|
|
|
# - postgresql-vol:/var/lib/postgresql/data
|
2020-06-30 09:55:10 +00:00
|
|
|
|
2020-03-05 16:09:03 +00:00
|
|
|
redis-cache:
|
|
|
|
image: redis:alpine
|
|
|
|
|
|
|
|
redis-queue:
|
|
|
|
image: redis:alpine
|
|
|
|
|
|
|
|
redis-socketio:
|
|
|
|
image: redis:alpine
|
|
|
|
|
|
|
|
frappe:
|
2020-06-11 07:25:27 +00:00
|
|
|
image: frappe/bench:latest
|
2020-03-05 16:09:03 +00:00
|
|
|
command: sleep infinity
|
|
|
|
volumes:
|
|
|
|
- ..:/workspace:cached
|
2020-06-09 05:33:20 +00:00
|
|
|
working_dir: /workspace/development
|
2020-03-05 16:09:03 +00:00
|
|
|
ports:
|
2020-06-10 07:22:47 +00:00
|
|
|
- "8000-8005:8000-8005"
|
|
|
|
- "9000-9005:9000-9005"
|
2020-03-05 16:09:03 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
mariadb-vol:
|
2020-06-30 09:55:10 +00:00
|
|
|
postgresql-vol:
|