browsertrix/scripts/init-configs.sh
Ilya Kreymer b9d7907ab3
Single config and env vars (#267)
* simplify back to single config.env!
- back to good ole env vars!
- remove shared secret, which made it difficult to have scheduled crawls, since secrets are immutable, so could not update config if a scheduled crawl existed :/
- all env vars unified in configs/config.env - run-swarm.sh and run-pod.sh 'source' this config
- remove config.sample.yaml
- customize minio volume dir via config.env
- customize redis port via config.env
- include authsign ports in debug-ports config
2022-06-16 21:50:03 -07:00

10 lines
202 B
Bash
Executable File

#!/bin/bash
set -e 0
# copy shared env config (if needed)
cp -n ./configs/config.sample.env ./configs/config.env
# copy signing (if needed)
cp -n ./configs/signing.sample.yaml ./configs/signing.yaml