config/scripts:

- additional fixes to signing.yml config
- add missing 'set -o allexport' before 'source'
This commit is contained in:
Ilya Kreymer 2022-06-16 22:36:44 -07:00
parent b9d7907ab3
commit 37ea3ed2af
4 changed files with 8 additions and 3 deletions

View File

@ -4,14 +4,16 @@ version: "3.8"
services:
authsign:
image: ${REGISTRY}webrecorder/authsign:${AUTHSIGN_TAG:-latest}
image: webrecorder/authsign:${AUTHSIGN_TAG:-latest}
volumes:
- btrix-sign-data:/data
- ./configs/signing.yaml:/app-config/signing.yaml
- ./configs/signing.yaml:/app-config/signing.yaml:z
environment:
- CONFIG=/app-config/signing.yaml
# optional token for authenticating access to authsign
- AUTH_TOKEN=${WACZ_SIGN_TOKEN}
env_file:
@ -24,7 +26,7 @@ services:
backend:
environment:
- WACZ_SIGN_URL="http://authsign:8080/sign"
- WACZ_SIGN_URL=${WACZ_SIGN_URL}
# optional token for authenticating access to authsign
- WACZ_SIGN_TOKEN=${WACZ_SIGN_TOKEN}

View File

@ -2,6 +2,7 @@
CURR=$(dirname "${BASH_SOURCE[0]}")
set -o allexport
source $CURR/../config.env
if [ -n $REGISTRY ]; then

View File

@ -6,6 +6,7 @@ compose=docker-compose
CURR=$(dirname "${BASH_SOURCE[0]}")
set -o allexport
source $CURR/../configs/config.env
export SOCKET_SRC=${XDG_RUNTIME_DIR}/podman/podman.sock

View File

@ -5,6 +5,7 @@
CURR=$(dirname "${BASH_SOURCE[0]}")
set -o allexport
source $CURR/../configs/config.env
docker swarm init