fix: create apps.txt during configuration (#1081)

This commit is contained in:
Revant Nandgaonkar
2023-02-15 17:16:11 +05:30
committed by GitHub
parent be66a1f468
commit 0228f06e81
2 changed files with 2 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ services:
- -c - -c
command: command:
- > - >
ls -1 apps > sites/apps.txt;
bench set-config -g db_host $$DB_HOST; bench set-config -g db_host $$DB_HOST;
bench set-config -gp db_port $$DB_PORT; bench set-config -gp db_port $$DB_PORT;
bench set-config -g redis_cache "redis://$$REDIS_CACHE"; bench set-config -g redis_cache "redis://$$REDIS_CACHE";

View File

@@ -20,6 +20,7 @@ services:
- -c - -c
command: command:
- > - >
ls -1 apps > sites/apps.txt;
bench set-config -g db_host $$DB_HOST; bench set-config -g db_host $$DB_HOST;
bench set-config -gp db_port $$DB_PORT; bench set-config -gp db_port $$DB_PORT;
bench set-config -g redis_cache "redis://$$REDIS_CACHE"; bench set-config -g redis_cache "redis://$$REDIS_CACHE";