This is a project to test Traefik and Blue-Green Deployment using Docker Containers.
First, you must to run this command to start Traefik and base network:
./setup-traefik-and-network.sh my_traefik_network
Now, you can run this command to deploy containers behind Traefik:
./deployment.sh primal-cd 3 my_traefik_network
or
./deployment.sh state-cd 3 my_traefik_network
By the end of each command execution, the environment color will have changed.
You can verify, running this command:
docker ps --format "{{.Names}}"
Finally, you can access the project in web browser or using curl.