mirror of
https://github.com/samply/bridgehead.git
synced 2026-05-14 02:20:27 +02:00
keyset to var/
This commit is contained in:
@@ -4,7 +4,7 @@ if [ -n "$ENABLE_OMICS" ];then
|
||||
OVERRIDE+=" -f ./$PROJECT/modules/itcc-omics-ingest.yaml"
|
||||
GENERATE_API_KEY="$(generate_simple_password 'omics')"
|
||||
PATIENTLIST_POSTGRES_PASSWORD=="$(generate_simple_password 'mainzelliste')"
|
||||
KEYSET=/etc/bridgehead/mainzelliste/keyset_siv.json
|
||||
KEYSET=/var/bridgehead/mainzelliste/keyset_siv.json
|
||||
if [ ! -f "$KEYSET" ]; then
|
||||
mkdir -p "$(dirname "$KEYSET")"
|
||||
KEY_ID=$(($(openssl rand -hex 4 | sed 's/^/0x/') & 0x7FFFFFFF))
|
||||
|
||||
@@ -57,7 +57,7 @@ services:
|
||||
secrets:
|
||||
- mainzelliste.docker.conf
|
||||
- source: symmetric_key
|
||||
target: /etc/resources/keys/symmetric_key.der
|
||||
target: /etc/resources/keys/symmetric_key.json
|
||||
|
||||
volumes:
|
||||
patientlist-db-data:
|
||||
@@ -66,4 +66,4 @@ secrets:
|
||||
file: /etc/bridgehead/mainzelliste/mainzelliste.docker.conf
|
||||
|
||||
symmetric_key:
|
||||
file: /etc/bridgehead/mainzelliste/keyset_siv.json
|
||||
file: /var/bridgehead/mainzelliste/keyset_siv.json
|
||||
|
||||
Reference in New Issue
Block a user