2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-08 22:31:07 +00:00
frappe_docker/docker-compose.yml

70 lines
1.5 KiB
YAML
Raw Normal View History

2017-07-18 09:00:58 +00:00
version: '2'
services:
mariadb:
image: mariadb
2017-07-18 09:00:58 +00:00
environment:
- MYSQL_ROOT_PASSWORD=123
2017-07-18 09:00:58 +00:00
- MYSQL_USER=root
volumes:
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
2018-10-04 00:10:27 +00:00
- /var/lib/mysql
2017-07-18 09:00:58 +00:00
ports:
2017-10-08 04:50:56 +00:00
- "3307:3306" #mariadb-port
container_name: mariadb
2017-07-18 09:00:58 +00:00
redis-cache:
image: redis:alpine
volumes:
- ./redis-conf:/etc/conf.d
2018-10-03 23:20:05 +00:00
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
container_name: redis-cache
redis-queue:
image: redis:alpine
volumes:
- ./redis-conf:/etc/conf.d
2018-10-03 23:20:05 +00:00
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
container_name: redis-queue
redis-socketio:
image: redis:alpine
volumes:
- ./redis-conf:/etc/conf.d
2018-10-03 23:20:05 +00:00
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
container_name: redis-socketio
2017-07-18 09:00:58 +00:00
2017-07-18 09:00:58 +00:00
frappe:
volumes:
- ./frappe-bench:/home/frappe/frappe-bench
- ./redis-conf/redis_cache.conf:/home/frappe/frappe-bench/config/redis_cache.conf
- ./redis-conf/redis_queue.conf:/home/frappe/frappe-bench/config/redis_queue.conf
- ./redis-conf/redis_socketio.conf:/home/frappe/frappe-bench/config/redis_socketio.conf
2017-07-18 09:00:58 +00:00
build: .
ports:
- "8000:8000" #webserver_port
- "9000:9000" #socketio_port
- "6787:6787" #file_watcher_port
2017-07-18 09:00:58 +00:00
stdin_open: true
tty: true
links:
- redis-cache
- redis-queue
- redis-socketio
- mariadb
2017-07-18 09:00:58 +00:00
depends_on:
- mariadb
- redis-cache
- redis-queue
- redis-socketio
container_name: frappe