Reverse Proxy Server

Traefik ..

Traefik is a modern HTTP reverse proxy and load balancer that simplifies deploying microservices. It automatically discovers the right configuration for your services based on the infrastructure it runs on, whether it's Docker, Kubernetes, Marathon, Consul, Etcd, Rancher, or others.

Traefik makes routing your services easy with its user-friendly dashboard, enabling real-time updates without restarting. Its native support for Let's Encrypt allows for automatic SSL/TLS certificate generation and renewal, enhancing security.

Where traditionally edge routers (or reverse proxies) need a configuration file that contains every possible route to your services, Traefik gets them from the services themselves.

Deploying your services, you attach information that tells Traefik the characteristics of the requests the services can handle.

It means that when a service is deployed, Traefik detects it immediately and updates the routing rules in real time. Similarly, when a service is removed from the infrastructure, the corresponding route is deleted accordingly.

You no longer need to create and synchronize configuration files cluttered with IP addresses or other rules.

For futher information:

By default the Traefik dashboard is disabled.

The configuration settings are located in: docker-compose.in.yml

The IP address for the

  1. To enable the dashboard, navigate to:

cd
cd /opt/pentaho/pdc-docker-deployment/vendor
sudo nano docker-compose.in.yml
  1. Uncomment the dashboard port.

# The Web UI (enabled by --api.insecure=true) 
- "8181:8080"
  1. Restart the PDC services.

cd
cd /opt/pentaho/pdc-docker-deployment
./pdc.sh stop
cd
cd /opt/pentaho/pdc-docker-deployment
./pdc.sh up
  1. Ensure the required services are up and running.

  2. Log into Portainer and make a note of the IP address: port for the Traefik container.

Traefik IP:Port
  1. Enter: [IP address: Port] in your browser.

Traefik Dashboard

Last updated