Traefik proxy docker compose
1. Basic Authentication
2. HTTPS Redirection
3. IP Whitelist
4. Letsencrypt
5. TLS 1.2 and 1.3
6. Access logs to file
Docker and Docker Compose is required to run the proxy. You may use the Ansible_Role to setup the infrastructure.
- Create docker network proxy
$ docker network create proxy
- Create directories for containers and Clone the repository
{
mkdir -p /opt/containers/traefik
cd /opt/containers/traefik
git clone https://github.com/iquzart/docker-compose-traefik.git .
chmod 600 config/acme/acme.json
}
- Update below files
.env
docker-compose.yml
config/traefik.yml
config/dynamic/middleware.yml
- Start Traefik
docker-compose up -d
- Start sample app (Optional)
docker-compose -f sample-app/goapp-compose.yml up -d
MIT
Muhammed Iqbal iquzart@hotmail.com