1
0
forked from test/crm

Update init.sh

Fixed: docker setup error in crm-frappe container.
(cherry picked from commit b6a6152a492d31e8fd0ce600c968d0002c6fda95)
This commit is contained in:
C.L.STARK 2025-07-30 05:11:40 +08:00 committed by Mergify
parent 07bea95479
commit e3baeabbb4

View File

@ -26,9 +26,9 @@ cd frappe-bench
# Use containers instead of localhost # Use containers instead of localhost
bench set-mariadb-host mariadb bench set-mariadb-host mariadb
bench set-redis-cache-host redis-cache:6379 bench set-redis-cache-host redis://redis-cache:6379
bench set-redis-queue-host redis-queue:6379 bench set-redis-queue-host redis://redis-queue:6379
bench set-redis-socketio-host redis-socketio:6379 bench set-redis-socketio-host redis://redis-socketio:6379
# Remove redis from Procfile # Remove redis from Procfile
sed -i '/redis/d' ./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 --site dev.localhost clear-cache
bench use dev.localhost bench use dev.localhost
bench get-app crm bench get-app crm
bench --site dev.localhost install-app crm bench --site dev.localhost install-app crm