moved redis configuration folder into conf/

This commit is contained in:
Mendel Greenberg 2019-01-18 15:53:53 -05:00
parent 293229e463
commit a8d4fe1bb9
No known key found for this signature in database
GPG key ID: B26A7D2DF7DC6EF7
7 changed files with 11 additions and 7 deletions

View file

@ -1,22 +1,26 @@
version: '2'
version: '3.3'
services:
mariadb:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=123
- MYSQL_USER=root
volumes:
- ./conf/mariadb-conf.d:/etc/mysql/conf.d
- /var/lib/mysql
ports:
- "3307:3306" #mariadb-port
container_name: mariadb
redis-cache:
image: redis:alpine
volumes:
- ./redis-conf:/etc/conf.d
- ./conf/redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
@ -26,7 +30,7 @@ services:
image: redis:alpine
volumes:
- ./redis-conf:/etc/conf.d
- ./conf/redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
@ -36,7 +40,7 @@ services:
image: redis:alpine
volumes:
- ./redis-conf:/etc/conf.d
- ./conf/redis-conf:/etc/conf.d
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
@ -46,9 +50,9 @@ services:
frappe:
volumes:
- ./frappe-bench:/home/frappe/frappe-bench
- ./redis-conf/redis_cache.conf:/home/frappe/frappe-bench/config/redis_cache.conf
- ./redis-conf/redis_queue.conf:/home/frappe/frappe-bench/config/redis_queue.conf
- ./redis-conf/redis_socketio.conf:/home/frappe/frappe-bench/config/redis_socketio.conf
- ./conf/redis-conf/redis_cache.conf:/home/frappe/frappe-bench/config/redis_cache.conf
- ./conf/redis-conf/redis_queue.conf:/home/frappe/frappe-bench/config/redis_queue.conf
- ./conf/redis-conf/redis_socketio.conf:/home/frappe/frappe-bench/config/redis_socketio.conf
build: .
ports:
- "8000:8000" #webserver_port