- Rename .env.example to .env and fill it out
- Run:
docker compose up -d --scale api=3
docker run -d --name watchtower -e WATCHTOWER_TRACE=true -e WATCHTOWER_DEBUG=true -e WATCHTOWER_POLL_INTERVAL=50 -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower tasker-api-1
docker compose build api
docker compose push api
docker swarm init
docker node ls
- List docker swarm nodesdocker stack deploy -c docker-compose.yml tasker
- Stack nametasker
docker stack ls
docker stack services tasker
- List services |docker service ls
docker stack ps tasker
- List Tasks- Build and push new Image
- Rolling updates handled by Shepherd