deploy: Move configurations to new stutter dir "app_sparkd"
This commit is contained in:
1 parent
a25e055e35
commit
4681f22e71
37 files changed
+13
-13
No files matched your search
@@ -0,0 +1,4 @@
|
||||
SPARKD__CONFIG_DIR=src/app_sparkd/configurations/alphaworx_prod
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
SPARKD__MEMORY=8gb
|
||||
SPARKD__RUNTIME_CONF_DIR=/home/ubuntu/8000/sparkdata/conf/
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
SPARKD__CONFIG_DIR=src/server/sparkd/configurations/alphaworx_zen_hk_live
|
||||
SPARKD__CONFIG_DIR=src/app_sparkd/configurations/alphaworx_zen_hk_live
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
SPARKD__MEMORY=8gb
|
||||
SPARKD__IMAGE=sparkd_symbols
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,2 @@
|
||||
SPARKD__CONFIG_DIR=src/app_sparkd/configurations/binance_dev
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,2 @@
|
||||
SPARKD__CONFIG_DIR=src/app_sparkd/configurations/dev
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,2 @@
|
||||
SPARKD__CONFIG_DIR=src/app_sparkd/configurations/sim_dev
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,4 +0,0 @@
|
||||
SPARKD__CONFIG_DIR=src/server/sparkd/configurations/alphaworx_prod
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
SPARKD__MEMORY=8gb
|
||||
SPARKD__RUNTIME_CONF_DIR=/home/ubuntu/8000/sparkdata/conf/
|
||||
@@ -1,2 +0,0 @@
|
||||
SPARKD__CONFIG_DIR=src/server/sparkd/configurations/binance_dev
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
@@ -1,2 +0,0 @@
|
||||
SPARKD__CONFIG_DIR=src/server/sparkd/configurations/dev
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
@@ -1,2 +0,0 @@
|
||||
SPARKD__CONFIG_DIR=src/server/sparkd/configurations/sim_dev
|
||||
SPARKD__SHM_SIZE=8gb
|
||||
+1
-1
@@ -73,7 +73,7 @@ def _get_env_files(services, profile):
|
||||
add(root.joinpath(".env.local"))
|
||||
if profile is not None:
|
||||
if "sparkd" in services or "sparkd-symbols" in services:
|
||||
profile_dir=root.joinpath("src/server/sparkd/configurations", profile)
|
||||
profile_dir=root.joinpath("src/app_sparkd/configurations", profile)
|
||||
add(profile_dir.joinpath(".env"))
|
||||
add(profile_dir.joinpath(".env.local"))
|
||||
return files
|
||||
|
||||
@@ -22,7 +22,7 @@ print_help_and_exit() {
|
||||
}
|
||||
|
||||
this_dir="$(dirname "${BASH_SOURCE[0]:-$0}")"
|
||||
profiles_dir="$(realpath "$this_dir/../src/server/sparkd/configurations")"
|
||||
profiles_dir="$(realpath "$this_dir/../src/app_sparkd/configurations")"
|
||||
declare -r spark_data_dir="${HOME:-/home/bts}/sparkdata"
|
||||
declare -r spark_conf_dir="$spark_data_dir/conf"
|
||||
mkdir -p "$spark_data_dir"
|
||||
|
||||
Reference in new issue
Block a user