https://github.com/rtucek/traefik-experiments
Experimenting with traefik's loadbalancer
https://github.com/rtucek/traefik-experiments
docker docker-compose mkcert traefik
Last synced: 7 months ago
JSON representation
Experimenting with traefik's loadbalancer
- Host: GitHub
- URL: https://github.com/rtucek/traefik-experiments
- Owner: rtucek
- License: mit
- Created: 2021-04-19T00:06:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-19T01:45:06.000Z (over 4 years ago)
- Last Synced: 2025-01-19T19:25:46.996Z (9 months ago)
- Topics: docker, docker-compose, mkcert, traefik
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Traefik experimens
...just tinkering around with [traefik's loadbalancer](https://traefik.io/).
## Setup
Only the self-signed certificates need to be generated.
For simplicity, I recommend using [mkcert](https://mkcert.dev/).Simply run
```bash
mkcert \
-cert-file ./certs/localhost-cert.pem \
-key-file ./certs/localhost-key.pem localhost
docker-compose up
```## Achievements
- [x] Support HTTP and HTTPS
- [x] Force redirect from HTTP to HTTPS
- [x] Make it work with self-signed certificate
- [x] Secure dashboard and API with TLS