This commit is contained in:
msnie
2025-04-30 12:46:30 +02:00
parent 153495221a
commit cd2b6cef4c
2 changed files with 40 additions and 5 deletions
+35
View File
@@ -0,0 +1,35 @@
## STATIC CONFIGURATION
log:
level: INFO
filePath: /opt/traefik/logs/system.log
format: json
accessLog:
filePath: "/opt/traefik/logs/access.log"
serversTransport:
insecureSkipVerify: true
# api:
# insecure: true
# dashboard: false
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
docker:
endpoint: "unix:///var/run/docker.sock"
exposedByDefault: false
certificatesResolvers:
letsencr:
acme:
storage: '/etc/letsencrypt/acme.json'
email: stokogsten@gmail.com
httpChallenge:
entryPoint: web
pilot:
token: "adfb2efb-ef4d-419f-b012-a7f4825d22fd"
+5 -5
View File
@@ -5,7 +5,7 @@ services:
container_name: pangolin
restart: unless-stopped
volumes:
- ./config:/app/config
- /srv/pangolin/config:/app/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/api/v1/"]
interval: "3s"
@@ -25,7 +25,7 @@ services:
- --remoteConfig=http://pangolin:3001/api/v1/gerbil/get-config
- --reportBandwidthTo=http://pangolin:3001/api/v1/gerbil/receive-bandwidth
volumes:
- ./config:/var/config
- /srv/pangolin/config:/var/config
cap_add:
- NET_ADMIN
- SYS_MODULE
@@ -45,10 +45,10 @@ services:
command:
- --configFile=/etc/traefik/traefik_config.yml
volumes:
- ./config/traefik:/etc/traefik:ro # Volume to store the Traefik configuration
- ./config/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
- ./config/traefik.yml:/etc/traefik:ro # Volume to store the Traefik configuration
- /srv/traefik/letsencrypt:/letsencrypt # Volume to store the Let's Encrypt certificates
networks:
default:
driver: bridge
name: pangolin
name: traefik