2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 18:48:58 +00:00

Merge pull request #1 from chabad360/develop

Modify volume naming and add database persistince
This commit is contained in:
chabad360 2018-10-03 18:15:46 -07:00 committed by GitHub
commit e727e3dc13
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
- /var/lib/mysql
ports:
- "3307:3306" #mariadb-port
container_name: mariadb
@ -15,9 +16,9 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/redis_cache.conf:/etc/conf.d/redis.conf
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis.conf"]
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
container_name: redis-cache
@ -25,9 +26,9 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/redis_queue.conf:/etc/conf.d/redis.conf
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis.conf"]
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
container_name: redis-queue
@ -35,9 +36,9 @@ services:
image: redis:alpine
volumes:
- ./redis-conf/redis_socketio.conf:/etc/conf.d/redis.conf
- ./redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis.conf"]
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
container_name: redis-socketio