You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ambar2/build.sh

34 lines
1.2 KiB
Bash

ROOT=/home/abderr/ambar/ambar
cd $ROOT
cd ElasticSearch
docker build . -t ambar-es:2.1
docker tag ambar-es:2.1 git.abderr.ovh/abderr/ambar-es:2.1
cd ../MongoDB
docker build . -t ambar-mongodb:2.1
docker tag ambar-mongodb:2.1 git.abderr.ovh/abderr/ambar-mongodb:2.1
cd ../Rabbit
docker build . -t ambar-rabbit:2.1
docker tag ambar-rabbit:2.1 git.abderr.ovh/abderr/ambar-rabbit:2.1
cd ../Redis
docker build . -t ambar-redis:2.1
docker tag ambar-redis:2.1 git.abderr.ovh/abderr/ambar-redis:2.1
cd ../ServiceApi
docker build . -t ambar-serviceapi:2.1
docker tag ambar-serviceapi:2.1 git.abderr.ovh/abderr/ambar-serviceapi:2.1
cd ../WebApi
docker build . -t ambar-webapi:2.1
docker tag ambar-webapi:2.1 git.abderr.ovh/abderr/ambar-webapi:2.1
cd ../FrontEnd
export PORT=8080
npm install
npm run compile
docker build . -t ambar-frontend:2.1
docker tag ambar-frontend:2.1 git.abderr.ovh/abderr/ambar-frontend:2.1
cd ../Pipeline
docker build . -t ambar-pipeline:2.1
docker tag ambar-pipeline:2.1 git.abderr.ovh/abderr/ambar-pipeline:2.1
cd ../LocalCrawler
docker build . -t ambar-local-crawler:2.1
docker tag ambar-local-crawler:2.1 git.abderr.ovh/abderr/ambar-local-crawler:2.1
cd $ROOT
sudo sysctl -w vm.max_map_count=262144