๐Ÿ‡
RaspberryPI Home Server
  • ๐Ÿ Home
  • ๐Ÿ› ๏ธSettings
    • โš™๏ธGPIO and Fan Controller
    • โšกPower Optimization
    • ๐Ÿ›ก๏ธUncomplicated Firewall
    • ๐Ÿ“ƒManual Steps
  • ๐Ÿ”ฎServices
    • ๐Ÿ”€Traefik Proxy
    • ๐ŸกHomer
    • ๐Ÿ–ฅ๏ธMonitoring
    • ๐ŸŽž๏ธJellyfin
    • ๐Ÿ’ฝDatabases
    • โ˜๏ธNextcloud
      • ๐Ÿ’ชUpgrade
      • โ™ป๏ธRestore
      • ๐Ÿ“ฆBackup
    • ๐ŸฅงPihole
    • ๐Ÿ›ณ๏ธPortainer
    • ๐Ÿ—ƒ๏ธFile Browser
    • ๐Ÿ”ŽSearXNG
    • ๐Ÿ“ฅTorrent Stack
      • ๐ŸฅทWireguard
      • ๐ŸŽฅRadarr
      • ๐Ÿ“ฝ๏ธSonarr
      • ๐ŸงฅJackett
  • ๐Ÿ‘‰Tip and Tricks
    • ๐Ÿ”ตBluetooth
    • ๐Ÿ’ฝDisk Configurations
Powered by GitBook
On this page
  • Deploy
  • Configuration
  • Networking
  • Self-Signed SSL
  • ACME

Was this helpful?

  1. Services

Traefik Proxy

https://traefik.io/traefik/

PreviousServicesNextHomer

Last updated 1 year ago

Was this helpful?

All reverse proxy configurations for all docker swarm services are configured with docker labels which can seen in service's docker-stack.yml

Deploy

$ git clone git@github.com:veerendra2/raspberrypi-homeserver.git
$ cd services/traefikv2
# create docker swarm overlay networks
$ docker stack deploy -c network.yml network
# deploy traefik reverse proxy
$ docker stack deploy -c docker-stack.yml traefikv2

Configuration

Networking

Network Range
Network Name
Internal

172.16.204.0/24

network_private

Yes

172.16.200.0/24

network_public

No

172.16.201.0/24

network_monitoring

No

172.16.202.0/24

network_databases

No

Self-Signed SSL

ACME

Refer below blog post

All docker swarm overlay network predefined in network.yml. Some networks are enable internal: true (Restricted to external access to the network. More )

Traefik creates default certificates while it bootstraps. Custom certificates can placed in , add in and [providers.file] section in

info
services/traefikv2/config/ssl
services/traefikv2/config/dynamic.toml
services/traefikv2/config/traefik.toml
๐Ÿ”ฎ
๐Ÿ”€
Page cover image
raspberrypi-homeserver/services/traefikv2 at main ยท veerendra2/raspberrypi-homeserverGitHub
Traefik Docker Swarm Stack
Traefik HTTPS Config with DuckDNS for Local Homeserver
Logo
Logo