Skip to content

Instantly share code, notes, and snippets.

@eldados
eldados / docker-compose.yml.traefik_full
Created November 23, 2022 12:41 — forked from YourFriendCaspian/docker-compose.yml.traefik_full
Taefik-reverse-proxy-tutorial-for-docker
#Reference: https://www.smarthomebeginner.com/traefik-reverse-proxy-tutorial-for-docker
#Requirement: Set environmental variables: ${$USERDIR}, ${PUID}, ${PGID}, ${TZ}, ${DOMAINNAME}, ${CLOUDFLARE_EMAIL}, ${CLOUDFLARE_API_KEY}, ${HTTP_USERNAME}, ${HTTP_PASSWORD}, etc. as explained in the reference.
version: "3.6"
services:
######### FRONTENDS ##########
# Traefik Reverse Proxy
traefik: