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
|
- MYSQL_USER=root
|
||||||
volumes:
|
volumes:
|
||||||
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
|
||||||
|
- mariadb:/var/lib/mysql
|
||||||
ports:
|
ports:
|
||||||
- "3307:3306" #mariadb-port
|
- "3307:3306" #mariadb-port
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
@ -15,7 +16,7 @@ services:
|
|||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis-conf/:/etc/conf.d/
|
- ./redis-conf:/etc/conf.d
|
||||||
|
|
||||||
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
|
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
|
||||||
|
|
||||||
@ -25,7 +26,7 @@ services:
|
|||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis-conf/:/etc/conf.d/
|
- ./redis-conf:/etc/conf.d
|
||||||
|
|
||||||
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
|
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
|
||||||
|
|
||||||
@ -35,7 +36,7 @@ services:
|
|||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis-conf/:/etc/conf.d/
|
- ./redis-conf:/etc/conf.d
|
||||||
|
|
||||||
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
|
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user