add correct redis URLs to environment of other containers (#1718)
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user