Update init.sh
Fixed: docker setup error in crm-frappe container. (cherry picked from commit b6a6152a492d31e8fd0ce600c968d0002c6fda95)
This commit is contained in:
parent
07bea95479
commit
e3baeabbb4
@ -26,9 +26,9 @@ cd frappe-bench
|
||||
|
||||
# Use containers instead of localhost
|
||||
bench set-mariadb-host mariadb
|
||||
bench set-redis-cache-host redis-cache:6379
|
||||
bench set-redis-queue-host redis-queue:6379
|
||||
bench set-redis-socketio-host redis-socketio:6379
|
||||
bench set-redis-cache-host redis://redis-cache:6379
|
||||
bench set-redis-queue-host redis://redis-queue:6379
|
||||
bench set-redis-socketio-host redis://redis-socketio:6379
|
||||
|
||||
# Remove redis from Procfile
|
||||
sed -i '/redis/d' ./Procfile
|
||||
@ -43,4 +43,4 @@ bench --site dev.localhost set-config developer_mode 1
|
||||
bench --site dev.localhost clear-cache
|
||||
bench use dev.localhost
|
||||
bench get-app crm
|
||||
bench --site dev.localhost install-app crm
|
||||
bench --site dev.localhost install-app crm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user