mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
add correct redis URLs to environment of other containers (#1718)
This commit is contained in:
parent
c6511f1453
commit
5b8cbd3aee
1 changed files with 9 additions and 0 deletions
9
pwd.yml
9
pwd.yml
|
|
@ -142,6 +142,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
environment:
|
||||||
|
FRAPPE_REDIS_CACHE: redis://redis-cache:6379
|
||||||
|
FRAPPE_REDIS_QUEUE: redis://redis-queue:6379
|
||||||
|
|
||||||
queue-short:
|
queue-short:
|
||||||
image: frappe/erpnext:v15.82.1
|
image: frappe/erpnext:v15.82.1
|
||||||
|
|
@ -158,6 +161,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
environment:
|
||||||
|
FRAPPE_REDIS_CACHE: redis://redis-cache:6379
|
||||||
|
FRAPPE_REDIS_QUEUE: redis://redis-queue:6379
|
||||||
|
|
||||||
redis-queue:
|
redis-queue:
|
||||||
image: redis:6.2-alpine
|
image: redis:6.2-alpine
|
||||||
|
|
@ -201,6 +207,9 @@ services:
|
||||||
command:
|
command:
|
||||||
- node
|
- node
|
||||||
- /home/frappe/frappe-bench/apps/frappe/socketio.js
|
- /home/frappe/frappe-bench/apps/frappe/socketio.js
|
||||||
|
environment:
|
||||||
|
FRAPPE_REDIS_CACHE: redis://redis-cache:6379
|
||||||
|
FRAPPE_REDIS_QUEUE: redis://redis-queue:6379
|
||||||
volumes:
|
volumes:
|
||||||
- sites:/home/frappe/frappe-bench/sites
|
- sites:/home/frappe/frappe-bench/sites
|
||||||
- logs:/home/frappe/frappe-bench/logs
|
- logs:/home/frappe/frappe-bench/logs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue