mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 23:35:09 +00:00
moved redis configuration folder into conf/
This commit is contained in:
parent
293229e463
commit
a8d4fe1bb9
7 changed files with 11 additions and 7 deletions
|
|
@ -1,22 +1,26 @@
|
||||||
version: '2'
|
version: '3.3'
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb
|
image: mariadb
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_ROOT_PASSWORD=123
|
- MYSQL_ROOT_PASSWORD=123
|
||||||
- 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
|
- /var/lib/mysql
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "3307:3306" #mariadb-port
|
- "3307:3306" #mariadb-port
|
||||||
|
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
|
|
||||||
redis-cache:
|
redis-cache:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis-conf:/etc/conf.d
|
- ./conf/redis-conf:/etc/conf.d
|
||||||
|
|
||||||
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
|
command: ["redis-server","/etc/conf.d/redis_cache.conf"]
|
||||||
|
|
||||||
|
|
@ -26,7 +30,7 @@ services:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis-conf:/etc/conf.d
|
- ./conf/redis-conf:/etc/conf.d
|
||||||
|
|
||||||
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
|
command: ["redis-server","/etc/conf.d/redis_queue.conf"]
|
||||||
|
|
||||||
|
|
@ -36,7 +40,7 @@ services:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis-conf:/etc/conf.d
|
- ./conf/redis-conf:/etc/conf.d
|
||||||
|
|
||||||
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
|
command: ["redis-server","/etc/conf.d/redis_socketio.conf"]
|
||||||
|
|
||||||
|
|
@ -46,9 +50,9 @@ services:
|
||||||
frappe:
|
frappe:
|
||||||
volumes:
|
volumes:
|
||||||
- ./frappe-bench:/home/frappe/frappe-bench
|
- ./frappe-bench:/home/frappe/frappe-bench
|
||||||
- ./redis-conf/redis_cache.conf:/home/frappe/frappe-bench/config/redis_cache.conf
|
- ./conf/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
|
- ./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_socketio.conf:/home/frappe/frappe-bench/config/redis_socketio.conf
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000" #webserver_port
|
- "8000:8000" #webserver_port
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue