mirror of https://gitlab.com/ecentrics/concordia
Apostolos Fanakis
4 years ago
11 changed files with 73 additions and 8 deletions
@ -0,0 +1,14 @@ |
|||
#!/bin/sh |
|||
|
|||
echo "window.runtimeEnv = { \ |
|||
REACT_APP_CONCORDIA_HOST: \"${REACT_APP_CONCORDIA_HOST}\", \ |
|||
REACT_APP_CONCORDIA_PORT: \"${REACT_APP_CONCORDIA_PORT}\", \ |
|||
REACT_APP_WEB3_HOST: \"${REACT_APP_WEB3_HOST}\", \ |
|||
REACT_APP_WEB3_PORT: \"${REACT_APP_WEB3_PORT}\", \ |
|||
REACT_APP_RENDEZVOUS_HOST: \"${REACT_APP_RENDEZVOUS_HOST}\", \ |
|||
REACT_APP_RENDEZVOUS_PORT: \"${REACT_APP_RENDEZVOUS_PORT}\", \ |
|||
REACT_APP_USE_EXTERNAL_CONTRACTS_PROVIDER: \"${REACT_APP_USE_EXTERNAL_CONTRACTS_PROVIDER}\", \ |
|||
REACT_APP_CONTRACTS_PROVIDER_HOST: \"${REACT_APP_CONTRACTS_PROVIDER_HOST}\", \ |
|||
REACT_APP_CONTRACTS_PROVIDER_PORT: \"${REACT_APP_CONTRACTS_PROVIDER_PORT}\", \ |
|||
REACT_APP_CONTRACTS_VERSION_HASH: \"${REACT_APP_CONTRACTS_VERSION_HASH}\", \ |
|||
}" >/var/www/concordia-app/environment.js |
@ -0,0 +1,3 @@ |
|||
sh /opt/concordia/create-environment.sh |
|||
|
|||
exec "$(which nginx)" -g "daemon off;" |
Loading…
Reference in new issue