-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 998 Bytes
/
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
39
40
version: "3"
services:
scheduler:
image: ghcr.io/reddec/compose-scheduler:1.1.0
read_only: true
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
cpus: "2"
memory: 250m
pids: 1024
privileged: true
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
cloudflare-exporter:
image: ghcr.io/rare-magma/cloudflare-exporter:latest
init: true
read_only: true
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
cpus: "2"
memory: 64m
pids: 16
volumes:
- ./cloudflare_exporter.conf:/app/cloudflare_exporter.conf:ro
- ./cloudflare_zone_list.json:/app/cloudflare_zone_list.json:ro
- ./cloudflare_kv_namespaces_list.conf:/app/cloudflare_kv_namespaces_list.conf:ro
labels:
net.reddec.scheduler.cron: "5 * * * *"