working on matrix setup
This commit is contained in:
10
compose.yml
10
compose.yml
@@ -5,6 +5,9 @@ services:
|
||||
image: traefik:v3.6
|
||||
container_name: traefik
|
||||
restart: unless-stopped
|
||||
dns:
|
||||
- 1.1.1.1
|
||||
- 8.8.8.8
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
@@ -12,6 +15,9 @@ services:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock" # running as root TODO need to make new user
|
||||
- "./letsencrypt:/letsencrypt"
|
||||
- "./traefik.yml:/etc/traefik/traefik.yml:ro" # sets the traefik.yml file as the options file for configuring proxy settings
|
||||
environment:
|
||||
- DESEC_TOKEN=RnKb69i8npX4HyvLr25NnQ1p25Kr
|
||||
- LEGO_DISABLE_CNAME_SUPPORT=true
|
||||
networks:
|
||||
traefik:
|
||||
ipv4_address: 172.21.0.10
|
||||
@@ -52,7 +58,7 @@ services:
|
||||
ports:
|
||||
- "51820:51820/udp"
|
||||
networks:
|
||||
backend: {}
|
||||
traefik: {}
|
||||
frontend: {}
|
||||
|
||||
labels:
|
||||
@@ -75,7 +81,7 @@ services:
|
||||
|
||||
networks:
|
||||
# Backend network for docker containers to talk to eachother
|
||||
backend:
|
||||
traefik:
|
||||
name: traefik
|
||||
external: true
|
||||
# VPN network for external devices to connect to the server
|
||||
|
||||
Reference in New Issue
Block a user