diff --git a/docker-compose.yml b/docker-compose.yml index d7578700..42abf6bb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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