https://github.com/dazz/try-traefik-blue-green
Try Blue/Green Deployments with Traefik
https://github.com/dazz/try-traefik-blue-green
Last synced: 5 months ago
JSON representation
Try Blue/Green Deployments with Traefik
- Host: GitHub
- URL: https://github.com/dazz/try-traefik-blue-green
- Owner: dazz
- Created: 2024-06-14T09:39:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-14T11:19:37.000Z (about 2 years ago)
- Last Synced: 2026-01-11T15:16:56.359Z (6 months ago)
- Language: HTML
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Try Blue/Green deployments with Traefik
Run
```shell
docker compose up -d
```
Open in your browser: http://docker.localhost/
You should be redirected to https://docker.localhost/ (you will probably need to accept the self issued certificate).
Open `./dynamic/dynamic.yml` and edit line 6
From `service: blue@file` to `service: green@file`
Refresh the browser and see the green service is routed to.
Voila, blue-green deployments!