landing-stats: make collector multi-stack reusable
This commit is contained in:
parent
e1cc6d7141
commit
b6c3225e97
7 changed files with 291 additions and 58 deletions
18
scripts/taler-landing/profiles/goa.env
Normal file
18
scripts/taler-landing/profiles/goa.env
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Stack profile: GOA / hacktivism
|
||||
# systemd EnvironmentFile: KEY=value only (no export)
|
||||
BANK_CTR=taler-hacktivism-bank
|
||||
EX_CTR=taler-hacktivism-exchange-ansible
|
||||
MER_CTR=taler-hacktivism
|
||||
BANK_URL=http://127.0.0.1:9012
|
||||
BANK_PUBLIC_URL=https://bank.hacktivism.ch
|
||||
EXCHANGE_CONFIG_URL=https://exchange.hacktivism.ch/config
|
||||
BANK_CURRENCY=GOA
|
||||
BANK_LANDING_IN=/var/www/bank-landing
|
||||
EX_LANDING_IN=/var/www/exchange-landing
|
||||
MER_LANDING_IN=/var/www/merchant-landing
|
||||
COLLECT_BANK=1
|
||||
COLLECT_EXCHANGE=1
|
||||
COLLECT_MERCHANT=1
|
||||
COLLECT_RESOURCES=1
|
||||
PUBLISH_PODMAN=1
|
||||
STATS_SOURCE_LABEL="host collect_bank_stats.py goa hacktivism"
|
||||
22
scripts/taler-landing/profiles/stage-testpaysan.env
Normal file
22
scripts/taler-landing/profiles/stage-testpaysan.env
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Stack profile: FrancPaysan stage / TESTPAYSAN (ops user stagepaysan)
|
||||
# systemd EnvironmentFile: KEY=value only (no export, no shell expansion)
|
||||
BANK_CTR=stage-lfp-bank
|
||||
EX_CTR=stage-lfp-exchange-ansible
|
||||
MER_CTR=stage-lfp-merchant
|
||||
BANK_URL=http://127.0.0.1:9032
|
||||
BANK_PUBLIC_URL=https://stage.bank.lefrancpaysan.ch
|
||||
EXCHANGE_CONFIG_URL=https://stage.exchange.lefrancpaysan.ch/config
|
||||
BANK_CURRENCY=TESTPAYSAN
|
||||
SCAN_SKIP=exchange
|
||||
BANK_LANDING_IN=/data/var/www
|
||||
EX_LANDING_IN=/data/var/www
|
||||
MER_LANDING_IN=/data/var/www
|
||||
# Shared public feed: one bank scan → same stats.json on all three Caddy landings
|
||||
# Colon-separated for systemd EnvironmentFile
|
||||
HOST_STATS_DIRS=/var/www/lfp-stage/bank:/var/www/lfp-stage/exchange:/var/www/lfp-stage/merchant
|
||||
COLLECT_BANK=1
|
||||
COLLECT_EXCHANGE=0
|
||||
COLLECT_MERCHANT=0
|
||||
COLLECT_RESOURCES=0
|
||||
PUBLISH_PODMAN=1
|
||||
STATS_SOURCE_LABEL="host collect_bank_stats.py stage TESTPAYSAN shared"
|
||||
Loading…
Add table
Add a link
Reference in a new issue