From ffde8a64be4b04df0c72086e65a2bcdf81fa17f5 Mon Sep 17 00:00:00 2001 From: pedro Date: Tue, 23 Jan 2024 08:33:46 +0100 Subject: [PATCH] these files are not needed anymore but they were base on doing the building for pilots --- docker-compose.yml | 37 ------------------------------------- idhub_build.sh | 22 ---------------------- 2 files changed, 59 deletions(-) delete mode 100644 docker-compose.yml delete mode 100755 idhub_build.sh diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index c3d6fc4..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,37 +0,0 @@ -version: "3.9" -services: - - orchestra: - init: true - image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/orchestra:sso__533d749 - environment: - - SECRET_KEY=${ORCHESTRA_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - ports: - - "9080:9080" - # TODO configure volumes - #volumes: - # - .:/home - - musician: - init: true - image: dkr-dsg.ac.upc.edu/trustchain-oc1-orchestral/musician:sso__addc4fe - ports: - - "8080:8080" - environment: - - SECRET_KEY=${MUSICIAN_SECRET_KEY:-publicsecretisnotsecureVtmKBfxpVV47PpBCF2Nzz2H6qnbd} - - API_BASE_URL=${MUSICIAN_API_BASE_URL:-http://nginx-orchestra-api:3000} - - ALLOWED_HOSTS=${MUSICIAN_ALLOWED_HOSTS:-*} - # 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 diff --git a/idhub_build.sh b/idhub_build.sh deleted file mode 100755 index ba728f6..0000000 --- a/idhub_build.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -set -e -set -u -# DEBUG -set -x - -main() { - deployment="${1:-}" - - # detach on production deployment - if [ "${deployment}" = 'prod' ]; then - detach='-d' - fi - - idhub_dc_f='docker-compose_idhub-temp.yml' - docker compose -f ${idhub_dc_f} down -v \ - && make docker_build \ - && docker compose -f ${idhub_dc_f} up ${detach:-} -} - -main "${@}"