orchestra & musician: use env namespace
This commit is contained in:
parent
f84539f6b7
commit
0359759848
14
.env.example
14
.env.example
|
@ -1,6 +1,12 @@
|
|||
ORCHESTRA_SECRET_KEY=
|
||||
MUSICIAN_SECRET_KEY=
|
||||
# ORCHESTRA
|
||||
####
|
||||
|
||||
#ORCHESTRA_SECRET_KEY='uncomment-it-and-fill-this'
|
||||
|
||||
# MUSICIAN
|
||||
####
|
||||
|
||||
#MUSICIAN_SECRET_KEY='uncomment-it-and-fill-this'
|
||||
# specially useful if you want to deploy in a specific domain
|
||||
#MUSICIAN_API_BASE_URL=https://orchestra.example.org
|
||||
#ALLOWED_HOSTS=musician.example.org
|
||||
#MUSICIAN_API_BASE_URL='https://orchestra.example.org'
|
||||
#MUSICIAN_ALLOWED_HOSTS='musician.example.org'
|
||||
|
|
|
@ -5,7 +5,7 @@ services:
|
|||
init: true
|
||||
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/orchestra:sso__533d749
|
||||
environment:
|
||||
- SECRET_KEY=${ORCHESTRA_SECRET_KEY:-123456}
|
||||
- SECRET_KEY=${ORCHESTRA_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
||||
ports:
|
||||
- "9080:9080"
|
||||
# TODO configure volumes
|
||||
|
@ -18,9 +18,9 @@ services:
|
|||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- SECRET_KEY=${MUSICIAN_SECRET_KEY:-123456}
|
||||
- SECRET_KEY=${MUSICIAN_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
||||
- API_BASE_URL=${MUSICIAN_API_BASE_URL:-http://nginx-orchestra-api:3000}
|
||||
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-*}
|
||||
- ALLOWED_HOSTS=${MUSICIAN_ALLOWED_HOSTS:-*}
|
||||
# TODO configure volumes
|
||||
#volumes:
|
||||
# - .:/home
|
||||
|
|
Reference in New Issue