config/scripts:
- additional fixes to signing.yml config - add missing 'set -o allexport' before 'source'
This commit is contained in:
parent
b9d7907ab3
commit
37ea3ed2af
@ -4,14 +4,16 @@ version: "3.8"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
authsign:
|
authsign:
|
||||||
image: ${REGISTRY}webrecorder/authsign:${AUTHSIGN_TAG:-latest}
|
image: webrecorder/authsign:${AUTHSIGN_TAG:-latest}
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- btrix-sign-data:/data
|
- btrix-sign-data:/data
|
||||||
- ./configs/signing.yaml:/app-config/signing.yaml
|
- ./configs/signing.yaml:/app-config/signing.yaml:z
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- CONFIG=/app-config/signing.yaml
|
- CONFIG=/app-config/signing.yaml
|
||||||
|
|
||||||
|
# optional token for authenticating access to authsign
|
||||||
- AUTH_TOKEN=${WACZ_SIGN_TOKEN}
|
- AUTH_TOKEN=${WACZ_SIGN_TOKEN}
|
||||||
|
|
||||||
env_file:
|
env_file:
|
||||||
@ -24,7 +26,7 @@ services:
|
|||||||
|
|
||||||
backend:
|
backend:
|
||||||
environment:
|
environment:
|
||||||
- WACZ_SIGN_URL="http://authsign:8080/sign"
|
- WACZ_SIGN_URL=${WACZ_SIGN_URL}
|
||||||
|
|
||||||
# optional token for authenticating access to authsign
|
# optional token for authenticating access to authsign
|
||||||
- WACZ_SIGN_TOKEN=${WACZ_SIGN_TOKEN}
|
- WACZ_SIGN_TOKEN=${WACZ_SIGN_TOKEN}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
CURR=$(dirname "${BASH_SOURCE[0]}")
|
CURR=$(dirname "${BASH_SOURCE[0]}")
|
||||||
|
|
||||||
|
set -o allexport
|
||||||
source $CURR/../config.env
|
source $CURR/../config.env
|
||||||
|
|
||||||
if [ -n $REGISTRY ]; then
|
if [ -n $REGISTRY ]; then
|
||||||
|
@ -6,6 +6,7 @@ compose=docker-compose
|
|||||||
|
|
||||||
CURR=$(dirname "${BASH_SOURCE[0]}")
|
CURR=$(dirname "${BASH_SOURCE[0]}")
|
||||||
|
|
||||||
|
set -o allexport
|
||||||
source $CURR/../configs/config.env
|
source $CURR/../configs/config.env
|
||||||
|
|
||||||
export SOCKET_SRC=${XDG_RUNTIME_DIR}/podman/podman.sock
|
export SOCKET_SRC=${XDG_RUNTIME_DIR}/podman/podman.sock
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
CURR=$(dirname "${BASH_SOURCE[0]}")
|
CURR=$(dirname "${BASH_SOURCE[0]}")
|
||||||
|
|
||||||
|
set -o allexport
|
||||||
source $CURR/../configs/config.env
|
source $CURR/../configs/config.env
|
||||||
|
|
||||||
docker swarm init
|
docker swarm init
|
||||||
|
Loading…
Reference in New Issue
Block a user