Joey Hafner
54124da9d1
Also converted a few old composes from 4-space indentation to 2-space Ignores supporting containers like postgres, redis, etc.
30 lines
595 B
YAML
30 lines
595 B
YAML
version: "3"
|
|
|
|
services:
|
|
traefik:
|
|
image: traefik:latest
|
|
container_name: traefik_traefik
|
|
logging:
|
|
driver: loki
|
|
options:
|
|
loki-url: http://localhost:3100/loki/api/v1/push
|
|
loki-batch-size: "50"
|
|
loki-retries: "1"
|
|
loki-timeout: "2s"
|
|
restart: "no"
|
|
networks:
|
|
- web
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
- 28080:8080
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ./traefik.yaml:/traefik.yaml
|
|
- ./config:/config
|
|
- $DOCKER_DATA/acme.json:/acme.json
|
|
|
|
networks:
|
|
web:
|
|
external: true
|