added vpn server configuration

This commit is contained in:
2022-07-27 23:37:11 +02:00
parent a6892b1b9a
commit 274c9594ee
4 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
defaultEntryPoints = ["http"]
[entryPoints]
[entryPoints.whoami]
address = ":8088"
[entryPoints.homeassistant]
address = ":8089"
[entryPoints.syncthing]
address = ":8090"
[file]
[backends]
[backends.whoami]
[backends.whoami.servers.server1]
url = "http://localhost:2001"
[backends.homeassistant]
[backends.homeassistant.servers.server1]
url = "http://10.155.223.3:8123/"
[backends.syncthing]
[backends.syncthing.servers.server1]
url = "http://10.155.223.3:8384/"
[frontends]
[frontends.whoami]
entryPoints = ["whoami"]
backend = "whoami"
[frontends.homeassistant]
entryPoints = ["homeassistant"]
backend = "homeassistant"
[frontends.syncthing]
entryPoints = ["syncthing"]
backend = "syncthing"

View File

@@ -0,0 +1,12 @@
version: "3.9"
services:
whoami:
network_mode: "host"
image: traefik/whoami
command:
- --port=2001
traefik:
network_mode: "host"
image: "traefik:1.7.10"
volumes:
- /home/willem/repos/homeAutomation/traefik/traefik.1.7.10.toml:/etc/traefik/traefik.toml