mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-27 09:15:10 +00:00
fix: use 3 redis services instead of 1
This commit is contained in:
parent
95711cc847
commit
d7f4a233d3
1 changed files with 24 additions and 6 deletions
30
pwd.yml
30
pwd.yml
|
|
@ -17,9 +17,9 @@ services:
|
||||||
environment:
|
environment:
|
||||||
DB_HOST: db
|
DB_HOST: db
|
||||||
DB_PORT: "3306"
|
DB_PORT: "3306"
|
||||||
REDIS_CACHE: redis:6379/0
|
REDIS_CACHE: redis-cache:6379
|
||||||
REDIS_QUEUE: redis:6379/1
|
REDIS_QUEUE: redis-queue:6379
|
||||||
REDIS_SOCKETIO: redis:6379/2
|
REDIS_SOCKETIO: redis-socketio:6379
|
||||||
SOCKETIO_PORT: "9000"
|
SOCKETIO_PORT: "9000"
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
|
|
@ -130,13 +130,29 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
|
|
||||||
redis:
|
redis-queue:
|
||||||
image: redis:6.2-alpine
|
image: redis:6.2-alpine
|
||||||
deploy:
|
deploy:
|
||||||
restart_policy:
|
restart_policy:
|
||||||
condition: on-failure
|
condition: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- redis-data:/data
|
- redis-queue-data:/data
|
||||||
|
|
||||||
|
redis-cache:
|
||||||
|
image: redis:6.2-alpine
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
volumes:
|
||||||
|
- redis-cache-data:/data
|
||||||
|
|
||||||
|
redis-socketio:
|
||||||
|
image: redis:6.2-alpine
|
||||||
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: on-failure
|
||||||
|
volumes:
|
||||||
|
- redis-socketio-data:/data
|
||||||
|
|
||||||
scheduler:
|
scheduler:
|
||||||
image: frappe/erpnext-worker:v13.36.1
|
image: frappe/erpnext-worker:v13.36.1
|
||||||
|
|
@ -160,5 +176,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
assets:
|
assets:
|
||||||
db-data:
|
db-data:
|
||||||
redis-data:
|
redis-queue-data:
|
||||||
|
redis-cache-data:
|
||||||
|
redis-socketio-data:
|
||||||
sites:
|
sites:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue