Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Standalone installation): The announcement database file is now r… #528

Merged
merged 1 commit into from
Jan 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,17 @@ vars:
source: env
variable: PRIVATE_PROXY_EPS_ENDPOINT
type: string
ANNOUNCEMENT_DB_FOLDER:
source: env
variable: ANNOUNCEMENT_DB_FOLDER
type: string

private:
name: "$PROXY_OP"
datastore:
type: file
settings:
filename: /app/db/private-proxy-announcements.db
filename: "$ANNOUNCEMENT_DB_FOLDER/private-proxy-announcements.db"
bind_address: 0.0.0.0:5545
internal_endpoint:
address: "$IRIS_CLIENT_BFF_ENDPOINT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,17 @@ vars:
source: env
variable: PRIVATE_PROXY_EPS_ENDPOINT
type: string
ANNOUNCEMENT_DB_FOLDER:
source: env
variable: ANNOUNCEMENT_DB_FOLDER
type: string


private:
name: "$PROXY_OP"
datastore:
type: file
settings:
filename: ./db/private-proxy-announcements.db
filename: "$ANNOUNCEMENT_DB_FOLDER/private-proxy-announcements.db"
bind_address: 0.0.0.0:5545
internal_endpoint:
address: "$IRIS_CLIENT_BFF_ENDPOINT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export PROXY_TLS_CERT_KEY=$PROXY_TLS_CERT_KEY
export PROXY_CLIENT_CERT=$PROXY_CLIENT_CERT
export PROXY_CLIENT_CERT_KEY=$PROXY_CLIENT_CERT_KEY
export PROXY_URL=$PROXY_URL
export ANNOUNCEMENT_DB_FOLDER=${ANNOUNCEMENT_DB_FOLDER:-./db}

## Fixed Variables
export IRIS_CLIENT_BFF_ENDPOINT=http://localhost:8092/data-submission-rpc
Expand Down