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 - MYSQL_USER=root
volumes: volumes:
- ./conf/mariadb-conf.d:/etc/mysql/conf.d - ./conf/mariadb-conf.d:/etc/mysql/conf.d
- /var/lib/mysql
ports: ports:
- "3307:3306" #mariadb-port - "3307:3306" #mariadb-port
container_name: mariadb container_name: mariadb
@ -15,9 +16,9 @@ services:
image: redis:alpine image: redis:alpine
volumes: 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 container_name: redis-cache
@ -25,9 +26,9 @@ services:
image: redis:alpine image: redis:alpine
volumes: 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 container_name: redis-queue
@ -35,9 +36,9 @@ services:
image: redis:alpine image: redis:alpine
volumes: 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 container_name: redis-socketio