mirror of
https://ghproxy.net/https://github.com/aspirepress/infrastructure.git
synced 2025-10-04 01:26:16 +08:00
* refactor: move traefik management port to docker-compose.override.yml * feat: convert traefik to file based config, use static cert
18 lines
439 B
YAML
18 lines
439 B
YAML
services:
|
|
traefik:
|
|
image: traefik:3.3.2
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${TRAEFIK_HTTP_PORT:-80}:80"
|
|
- "${TRAEFIK_HTTPS_PORT:-443}:443"
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
- ./traefik.yaml:/etc/traefik/traefik.yaml
|
|
- ./traefik-config.d:/etc/traefik/traefik-config.d
|
|
- ./certs:/etc/traefik/certs
|
|
networks:
|
|
- traefik
|
|
|
|
networks:
|
|
traefik:
|
|
external: true
|