Update Docker & Kubernetes/Docker/Docker Compose/Traefik.md
This commit is contained in:
@ -1,5 +1,17 @@
|
|||||||
**Purpose**: Deploy a Traefik Reverse Proxy
|
**Purpose**: A traefik reverse proxy is a server that sits between your network firewall and servers hosting various web services on your private network(s). Traefik automatically handles the creation of Let's Encrypt SSL certificates if you have a domain registrar that is supported by Traefik such as CloudFlare; by leveraging API keys, Traefik can automatically make the DNS records for Let's Encrypt's DNS "challenges" whenever you add a service behind the Traefik reverse proxy.
|
||||||
|
|
||||||
|
!!! info "Assumptions"
|
||||||
|
This Traefik deployment document assumes you have deployed [Portainer](https://docs.bunny-lab.io/Docker %26 Kubernetes/Servers/Docker/Portainer/) to either a Rocky Linux or Ubuntu Server environment. Other docker-compose friendly operating systems have not been tested, so your mileage may vary regarding successful deployment ouside of these two operating systems.
|
||||||
|
|
||||||
|
Portainer makes deploying and updating Traefik so much easier than via a CLI. It's also much more intuitive.
|
||||||
|
|
||||||
|
## Deployment on Portainer
|
||||||
|
- Login to Portainer (e.g. https://<portainer-ip>:9443)
|
||||||
|
- Navigate to "**Environment (usually "local") > Stacks > "+ Add Stack"**"
|
||||||
|
- Enter the following `docker-compose.yml` and `.env` environment variables into the webpage
|
||||||
|
- When you have finished making adjustments to the environment variables (and docker-compose data if needed), click the "**Deploy the Stack**" button
|
||||||
|
|
||||||
|
### Stack Deployment Information
|
||||||
```jsx title="docker-compose.yml"
|
```jsx title="docker-compose.yml"
|
||||||
version: "3.3"
|
version: "3.3"
|
||||||
services:
|
services:
|
||||||
|
Reference in New Issue
Block a user