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:
parent
70a45b2f5d
commit
835e5d60b6
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user