This repo is simple traefik in docker.
- Domain mapping
- BasicAuth
- Compress
- RateLimit
- Redirect to https
- Let's encrypt (SSL)
Create .env
file from .env.example
cp .env.example .env
Generate Basic authentication
Note: all dollar signs in the hash need to be doubled for escaping.
echo $(htpasswd -nb user password) | sed -e s/\\$/\\$\\$/g
Run
docker-compose up
Frontend : http://localhost
Backend : http://api.localhost
Dashboard (Basic-auth) : http://dashboard.localhost