mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-17 13:55:08 +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:
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue