Welcome to the Votingapp example project.
docker-compose build
docker-compose up -d
cd backend
npm install
npm test
psql -c "CREATE ROLE votingapp WITH CREATEDB LOGIN PASSWORD 'votingapp'"
psql -c "CREATE DATABASE votingapp WITH OWNER votingapp"
psql -c "CREATE DATABASE votingapp_test WITH OWNER votingapp"
npm start
dc build
docker tag votingapp_frontend mrako/votingapp_frontend
docker tag votingapp_backend mrako/votingapp_backend
docker push mrako/votingapp_frontend
docker push mrako/votingapp_backend
rancher-compose -f docker-compose.swarm.yml up --force-upgrade --pull
rancher-compose -f docker-compose.swarm.yml up --confirm-upgrade
rancher-compose -f docker-compose.swarm.yml up --rollback