added vpn server configuration
This commit is contained in:
35
traefik/traefik.1.7.10.toml
Normal file
35
traefik/traefik.1.7.10.toml
Normal 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"
|
||||
12
vpn-server/docker-compose.yml
Normal file
12
vpn-server/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user