-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
38 lines (38 loc) · 1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "3.7"
services:
traefik:
image: "traefik:v2.4"
restart: always
command:
- "--api.insecure=true"
- "--providers.docker=true"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
ports:
- "127.0.0.1:80:80"
- "127.0.0.1:8080:8080"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock:ro"
networks:
- traefik
hostname: traefik
container_name: traefik
mailcatcher:
image: tophfr/mailcatcher
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik"
- "traefik.http.routers.mailcatcher.rule=Host(`mailcatcher.localhost`)"
- "traefik.http.routers.mailcatcher.service=mailcatcher"
- "traefik.http.services.mailcatcher.loadbalancer.server.port=80"
networks:
- traefik
kwkhtmltopdf:
restart: always
image: ghcr.io/acsone/kwkhtmltopdf:0.12.5-latest
networks:
- traefik
networks:
traefik:
name: traefik