browsertrix/scripts/build-podman.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

15 lines
307 B
Bash
Executable File

#!/bin/bash
compose=docker-compose
# can optionally be used with podman-compose
# compose=podman-compose
CURR=$(dirname "${BASH_SOURCE[0]}")
# get current podman version
version=$(podman --version | grep -P '([\d]\.[\d])' -o)
# build
$compose build --build-arg PODMAN_VERSION=$version backend frontend