2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-11-09 23:00:56 +00:00

Update docker-compose.yml

Added persistence to mariadb, and cleaned it up a bit
This commit is contained in:
chabad360 2018-10-03 17:05:37 -07:00 committed by GitHub
parent 70a45b2f5d
commit 835e5d60b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ services:
- MYSQL_USER=root
volumes:
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
- mariadb:/var/lib/mysql
ports:
- "3307:3306" #mariadb-port
container_name: mariadb
@ -15,7 +16,7 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/:/etc/conf.d/
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
@ -25,7 +26,7 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/:/etc/conf.d/
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
@ -35,7 +36,7 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/:/etc/conf.d/
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]