Compose file sets CYPHERNODE_URL in env

This commit is contained in:
SKP
2019-07-11 00:12:08 +02:00
parent fe336cbe2f
commit 2ed5adb353
2 changed files with 9 additions and 8 deletions

View File

@@ -3,14 +3,14 @@ listen = "0.0.0.0:8080"
index_template = "templates/index.html"
path_prefix = "/welcome"
[gatekeeper]
status_url = "https://gatekeeper/v0/getblockchaininfo"
installation_info_url = "https://gatekeeper/v0/installation_info"
installation_state_url = "https://gatekeeper/s/stats/installation.json"
config_archive_url = "https://gatekeeper/s/stats/config.7z"
certs_url = "https://gatekeeper/s/stats/client.7z"
[api]
status_endpoint = "/v0/getblockchaininfo"
installation_info_endpoint = "/v0/installation_info"
installation_state_endpoint = "/s/stats/installation.json"
config_archive_endpoint = "/s/stats/config.7z"
certs_endpoint = "/s/stats/client.7z"
[security]
key_label = "000"
key_file = "/data/keys.properties"
cert_file = "/data/cert.pem"

View File

@@ -4,7 +4,8 @@ services:
cyphernode_welcome:
environment:
- "TRACING=1"
image: cyphernode/app_welcome:v0.2.1
- "CYPHERNODE_URL=https://gatekeeper:${GATEKEEPER_PORT}"
image: cyphernode/app_welcome:v0.3.0
volumes:
- "$GATEKEEPER_DATAPATH/certs/cert.pem:/data/cert.pem"
- "$GATEKEEPER_DATAPATH/keys.properties:/data/keys.properties"