2023-10-10 08:07:46 +00:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
|
|
|
|
|
|
|
orchestra:
|
|
|
|
init: true
|
2023-10-10 08:59:40 +00:00
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/orchestra:sso__533d749
|
2023-10-10 08:07:46 +00:00
|
|
|
environment:
|
2023-10-31 09:44:46 +00:00
|
|
|
- SECRET_KEY=${ORCHESTRA_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
2023-10-10 08:07:46 +00:00
|
|
|
ports:
|
|
|
|
- "9080:9080"
|
|
|
|
# TODO configure volumes
|
|
|
|
#volumes:
|
|
|
|
# - .:/home
|
|
|
|
|
|
|
|
musician:
|
|
|
|
init: true
|
2023-10-10 08:59:40 +00:00
|
|
|
image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/musician:sso__addc4fe
|
2023-10-10 08:07:46 +00:00
|
|
|
ports:
|
|
|
|
- "8080:8080"
|
|
|
|
environment:
|
2023-10-31 09:44:46 +00:00
|
|
|
- SECRET_KEY=${MUSICIAN_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd}
|
2023-10-10 08:07:46 +00:00
|
|
|
- API_BASE_URL=${MUSICIAN_API_BASE_URL:-http://nginx-orchestra-api:3000}
|
2023-10-31 09:44:46 +00:00
|
|
|
- ALLOWED_HOSTS=${MUSICIAN_ALLOWED_HOSTS:-*}
|
2023-10-10 08:07:46 +00:00
|
|
|
# TODO configure volumes
|
|
|
|
#volumes:
|
|
|
|
# - .:/home
|
|
|
|
|
|
|
|
# WARNING: this containers is hardcoded and is only useful in localhost deployments
|
|
|
|
# and as a reference for reachable deployments
|
|
|
|
nginx-orchestra-api:
|
|
|
|
image: nginx
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
volumes:
|
|
|
|
# src https://hub.docker.com/_/nginx
|
|
|
|
# src https://github.com/docker-library/docs/tree/master/nginx#complex-configuration
|
|
|
|
- ./docker/nginx-orchestra-api.nginx.conf:/etc/nginx/nginx.conf:ro
|