2022-03-18 14:10:59 +00:00
|
|
|
# traefik-vs-nginx-docker-youtube
|
|
|
|
|
|
|
|
Examples showing how to use Traefik and Nginx for Reverse Proxy.
|
|
|
|
|
2022-03-18 14:43:33 +00:00
|
|
|
This repository is to complement my YouTube video on this topic, [Traefik vs nginx: Docker Reverse Proxy](https://youtu.be/rjKe8MhQqFM)
|
2022-03-18 14:10:59 +00:00
|
|
|
|
|
|
|
## nginx
|
|
|
|
|
|
|
|
```
|
|
|
|
docker-compose -f docker-compose.nginx.yml up
|
|
|
|
```
|
|
|
|
|
|
|
|
## nginx proxy
|
|
|
|
|
|
|
|
```
|
|
|
|
docker-compose -f docker-compose.nginx-proxy.yml up
|
|
|
|
```
|
|
|
|
|
|
|
|
## traefik
|
|
|
|
|
|
|
|
```
|
|
|
|
docker-compose -f docker-compose.traefik.yml up
|
|
|
|
```
|
|
|
|
|
|
|
|
## traefik with docker network
|
|
|
|
|
|
|
|
```
|
|
|
|
docker-compose -f docker-compose.traefik-network.yml up &
|
|
|
|
docker-compose -f docker-compose.services.yml up
|
|
|
|
```
|