Upload files to "traefik"
This commit is contained in:
commit
b7c1c14a33
20
traefik/compose.yml
Normal file
20
traefik/compose.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
services:
|
||||||
|
traefik:
|
||||||
|
image: traefik:v3.5
|
||||||
|
container_name: traefik-demo
|
||||||
|
command: --api.insecure=true --providers.docker
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
- "8080:8080"
|
||||||
|
- "8443:8443"
|
||||||
|
- "443:443"
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
- ./config/traefik.yml:/etc/traefik/traefik.yml:ro
|
||||||
|
networks:
|
||||||
|
- bsej
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
bsej:
|
||||||
|
external: true
|
||||||
17
traefik/traefik.yml
Normal file
17
traefik/traefik.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
global:
|
||||||
|
checkNewVersion: false
|
||||||
|
sendAnonymousUsage: false
|
||||||
|
log:
|
||||||
|
level: DEBUG
|
||||||
|
api:
|
||||||
|
dashboard: true
|
||||||
|
insecure: true
|
||||||
|
entryPoints:
|
||||||
|
web:
|
||||||
|
address: :80
|
||||||
|
websecure:
|
||||||
|
address: :443
|
||||||
|
providers:
|
||||||
|
docker:
|
||||||
|
endpoint: "unix://var/run/docker.sock"
|
||||||
|
exposedByDefault: false
|
||||||
Loading…
x
Reference in New Issue
Block a user