mirror of
https://github.com/acedanger/docker.git
synced 2025-12-06 02:10:12 -08:00
Update .gitignore, README, and Traefik configuration; add new services and environment variables
This commit is contained in:
@@ -41,13 +41,44 @@ http:
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
# Traefik Log Dashboard router
|
||||
traefik-dashboard-redirect:
|
||||
rule: "Host(`traefik-logs.acedanger.com`)"
|
||||
service: traefik-dashboard-service
|
||||
entryPoints:
|
||||
- web
|
||||
middlewares:
|
||||
- redirect-to-https
|
||||
|
||||
traefik-dashboard-router:
|
||||
rule: "Host(`traefik-logs.acedanger.com`)"
|
||||
service: traefik-dashboard-service
|
||||
entryPoints:
|
||||
- websecure
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
|
||||
services:
|
||||
next-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://pangolin:3002" # Next.js server
|
||||
- url: "http://pangolin:3002" # Next.js server
|
||||
|
||||
api-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://pangolin:3000" # API/WebSocket server
|
||||
- url: "http://pangolin:3000" # API/WebSocket server
|
||||
|
||||
traefik-dashboard-service:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://traefik-dashboard:3000"
|
||||
|
||||
tcp:
|
||||
serversTransports:
|
||||
pp-transport-v1:
|
||||
proxyProtocol:
|
||||
version: 1
|
||||
pp-transport-v2:
|
||||
proxyProtocol:
|
||||
version: 2
|
||||
|
||||
@@ -19,6 +19,20 @@ log:
|
||||
level: "INFO"
|
||||
format: "common"
|
||||
|
||||
accessLog:
|
||||
filePath: "/var/log/traefik/access.log"
|
||||
format: "json"
|
||||
bufferingSize: 100
|
||||
fields:
|
||||
defaultMode: "keep"
|
||||
names:
|
||||
ClientUsername: "drop"
|
||||
headers:
|
||||
defaultMode: "keep"
|
||||
names:
|
||||
Authorization: "drop"
|
||||
Cookie: "drop"
|
||||
|
||||
certificatesResolvers:
|
||||
letsencrypt:
|
||||
acme:
|
||||
|
||||
Reference in New Issue
Block a user