init: standalone Traefik config (replaces Coolify-managed coolify-proxy)
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
networks:
|
||||
coolify:
|
||||
external: true
|
||||
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v3.6
|
||||
container_name: traefik-test
|
||||
restart: "no"
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
networks:
|
||||
- coolify
|
||||
ports:
|
||||
- 127.0.0.1:8001:80
|
||||
- 127.0.0.1:8080:8080
|
||||
volumes:
|
||||
- /opt/appdata/docker/docker-compose/traefik/traefik.yml:/etc/traefik/traefik.yml:ro
|
||||
- /data/coolify/proxy/:/traefik
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command:
|
||||
- --configFile=/etc/traefik/traefik.yml
|
||||
- --api.insecure=true
|
||||
- --entrypoints.traefik.address=:8080
|
||||
Reference in New Issue
Block a user