-
Notifications
You must be signed in to change notification settings - Fork 5
/
dq.yml
68 lines (63 loc) · 1.28 KB
/
dq.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "1"
jobs:
mail:
image: shrikrishna/dq_sendmail:latest
command: >
--smtp-user='{{smtp_user}}'
--smtp-pass='{{smtp_pass}}'
--smtp-domain='{{smtp_domain}}'
--from='{{from}}'
--to='{{to}}'
--subject='{{subject}}'
--body='{{body}}'
--tls={{is_tls}}
remove: true
priority: "high"
attempts: 10
backoff: true
ttl: 30000
batch: 5
serverless_example:
image: shrikrishna/dq_serverless_example:latest
service:
port: 3000
max_replica: 5
endpoints:
vote:
uri: "/"
method: "GET"
logrotate:
image: logrotater:latest
repeat: "0 0 1 * *"
volumes:
- "/var/log/mylog:/var/log/logrotater"
mongobackup:
image: mongo:latest
command: "mongodump -o /data/backup"
repeat: "0 0 1 * *"
volumes:
- "/data/db:/data/db"
- "/data/backup:/data/backup"
test:
image: test:latest
command: "hello world"
repeat: "*/2 * * * *"
volumes:
- "/data/db:/data/db"
- "/data/backup:/data/backup"
remove: true
priority: "high"
attempts: 10
backoff: true
ttl: 5000
dq:
redis:
port: 6379
host: "redis"
db: 3
queue:
watch_interval: 10000
ui:
enabled: true
title: "DQ"
port: 3001