2024-11-25 03:50:56 +00:00
|
|
|
services:
|
|
|
|
runtipi-reverse-proxy:
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
command:
|
|
|
|
- '--providers.docker'
|
2024-12-13 15:24:05 +00:00
|
|
|
- '--providers.file.directory=/etc/traefik/dynamic'
|
2024-11-25 03:50:56 +00:00
|
|
|
- '--certificatesresolvers.myresolver.acme.email=${ACME_EMAIL}'
|
|
|
|
- '--certificatesresolvers.myresolver.acme.storage=/shared/acme.json'
|
2024-12-05 01:09:16 +00:00
|
|
|
- '--certificatesresolvers.myresolver.acme.dnschallenge.provider=cloudflare'
|
2024-12-13 15:24:05 +00:00
|
|
|
- "--certificatesresolvers.myresolver.acme.dnschallenge.resolvers=1.1.1.1:53,1.0.0.1:53"
|
|
|
|
- '--log.level=INFO'
|
2024-11-25 03:50:56 +00:00
|
|
|
environment:
|
2024-12-13 15:24:05 +00:00
|
|
|
CF_API_EMAIL: "${ACME_EMAIL:?}"
|
|
|
|
CF_DNS_API_TOKEN: "${CF_DNS_API_TOKEN:?}"
|
2024-12-05 01:10:17 +00:00
|
|
|
networks:
|
|
|
|
- tipi_main_network
|
|
|
|
- tipi_internal_network
|
2024-12-13 15:24:05 +00:00
|
|
|
volumes:
|
|
|
|
- type: bind
|
|
|
|
source: ./traefik/shared
|
|
|
|
target: /shared
|
|
|
|
read_only: false
|
|
|
|
- type: bind
|
|
|
|
source: ./traefik
|
|
|
|
target: /etc/traefik
|
|
|
|
read_only: false
|
|
|
|
- type: bind
|
|
|
|
source: ./user-config/_traefik/dynamic/
|
|
|
|
target: /etc/traefik/dynamic/
|
|
|
|
read_only: true
|
|
|
|
- type: bind
|
|
|
|
source: ./user-config/_traefik/traefik.yml
|
|
|
|
target: /etc/traefik/traefik.yml
|
|
|
|
read_only: true
|
2024-12-05 01:10:17 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
tipi_internal_network:
|
|
|
|
internal: true
|
|
|
|
attachable: true
|
|
|
|
name: runtipi_internal_network
|
2024-11-25 03:50:56 +00:00
|
|
|
|