-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.tools.yml
54 lines (50 loc) · 1.47 KB
/
docker-compose.tools.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
mailpit:
image: axllent/mailpit
container_name: mailpit
restart: always
volumes:
- ./data:/data
ports:
- 8025
- 1025
hostname: mail.odl.local
environment:
MP_MAX_MESSAGES: 5000
MP_DATA_FILE: /data/mailpit.db
MP_SMTP_AUTH_ACCEPT_ANY: 1
MP_SMTP_AUTH_ALLOW_INSECURE: 1
labels:
- "traefik.enable=true"
- "traefik.http.routers.mail.rule=Host(`mail.odl.local`)"
- "traefik.http.routers.mail.entrypoints=https"
- "traefik.http.routers.mail.tls=true"
- "traefik.http.services.mail.loadbalancer.server.port=8025"
networks:
- ol-network
webhook-tester:
image: tarampampam/webhook-tester
command: --log-json serve --port 8180 --storage-driver redis --pubsub-driver redis --redis-dsn redis://redis:6379/0
ports:
- '8180/tcp'
depends_on:
redis: {condition: service_healthy}
labels:
- "traefik.enable=true"
- "traefik.http.routers.webhook-tester.rule=Host(`webhook-tester.odl.local`)"
- "traefik.http.routers.webhook-tester.entrypoints=https"
- "traefik.http.routers.webhook-tester.tls=true"
- "traefik.http.services.webhook-tester.loadbalancer.server.port=8180"
networks:
- ol-network
redis:
image: redis:7-alpine
volumes: [redis-data:/data:rw]
ports: ['6379/tcp']
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 1s
networks:
- ol-network
volumes:
redis-data: {}