1. Copy the external_vars.example.yml to ansible-playbooks/vars/external_vars.yml and setting the token in it
cp external_vars.example.yml ansible-playbooks/vars/external_vars.yml
ansible-playbook ansible-playbooks/runner-docker-build.yml
cp env-example .env
cp dbpassword .dbpassword
docker-compose up -d db
docker-compose up -d app1 app2 app3
docker-compose up -d proxy
5. Open the get url http://localhost:8080/users on browser
6. Or send a post to url http://localhost:8080/users on client http
cp env-example .env
docker network create -d bridge my-bridge-network
# build the container
docker build -t devops/db ./docker-config/db
# build run the container in daemon mode
docker run --rm -d -h db -p 1000:3600 --env-file ./.env --network=devops-network devops/db
# build the container
docker build -t devops/app -f ./docker-config/app/Dockerfile .
# build run the container in daemon mode
docker run --rm -d -h app -p 9000:8080 --env-file ./.env --network=devops-network devops/app
5. Open the get url http://localhost:8080/users on browser
6. Or send a post to url http://localhost:8080/users on client http
mvn install
mvn spring-boot:run