docker network create -d bridge perseus-net
cd shared-db
docker build -t shareddb .
docker run --name shareddb -d -p 5432:5432 --network=perseus-net shareddb
cd files-manager
docker build -t files-manager .
docker run --name files-manager -d -p 10500:10500 -e SPRING_PROFILES_ACTIVE='docker' --network=perseus-net files-manager
cd perseus-api
docker build -t backend .
docker run --name backend -d -p 5004:5004 -e PERSEUS_ENV='Docker' --network=perseus-net backend
cd user
docker build -t user .
docker run --name user -d -p 5001:5001 --env-file user-envs.txt --network=perseus-net user
cd auth
docker build -t auth .
docker run --name auth -d -p 8002:8002 -e CLIENT_ID='<<Client Id>>' -e API_URI='<<Api Uri>>' -e SPRING_PROFILES_ACTIVE='docker' --network=perseus-net auth
cd UI
docker build -t frontend --build-arg env='prod' .
docker run --name frontend -d -p 4200:4200 --network=perseus-net frontend
cd UI
npm run build:prod
docker build -t frontend -f Dockerfile_no-npm .
docker run --name frontend -d -p 4200:4200 --network=perseus-net frontend
cd UI
docker build -t frontend --build-arg env='azure'
docker run --name frontend -d -p 4200:4200 --env-file frontend-envs.txt --network=perseus-net frontend
cd UI
npm run build:azure
docker build -t frontend -f Dockerfile_no-npm .
docker run --name frontend -d -p 4200:4200 --env-file frontend-envs.txt --network=perseus-net frontend
cd nginx
docker build -t web .
docker run --name web -d -p 80:80 --network=perseus-net web
cd ../WhiteRabbit
docker build -t white-rabbit .
docker run --name white-rabbit -d -p 8000:8000 -e SPRING_PROFILES_ACTIVE='docker' --network=perseus-net white-rabbit
cd vocabulary-db
Get the link to the vocabulary from Athena.
Install vocabulary archive and extract to vocabulary
directory. Full path vocabulary-db/vocabulary
.
docker build -t vocabularydb .
docker run --name vocabularydb -d -p 5431:5432 --network=perseus-net vocabularydb
cd ../ETL-CDMBuilder
docker build -t cdm-builder .
docker run --name cdm-builder -d -p 9000:9000 -e ASPNETCORE_ENVIRONMENT='Docker' --network=perseus-net cdm-builder
cd ../DataQualityDashboard/R
docker build -t r-serve --build-arg prop='docker' .
docker run --name r-serve -d -p 6311:6311 --network=perseus-net r-serve
Make sure R Server container is run.
cd ../DataQualityDashboard
docker build -t data-quality-dashboard .
docker run --name data-quality-dashboard -d -p 8001:8001 -e SPRING_PROFILES_ACTIVE='docker' --network=perseus-net data-quality-dashboard
cd solr
docker build -t solr .
docker run --name solr -d -p 8983:8983 --network=perseus-net solr
Make sure Solr container is run.
cd athena-api
docker build -t athena .
docker run --name athena -d -p 5002:5002 -e ATHENA_ENV='Docker' --network=perseus-net athena
To initialize Athena data run this query:
Make sure Solr container is run.
cd usagi-api
docker build -t usagi .
docker run --name usagi -d -p 5003:5003 -e USAGI_ENV='Docker' --network=perseus-net usagi
To initialize Usagi data run this query:
cd swagger-ui
docker build -t swagger .
docker run --name swagger -d -p 8080:8080 swagger