-
Notifications
You must be signed in to change notification settings - Fork 2
/
test-httpd.yaml
53 lines (51 loc) · 1.49 KB
/
test-httpd.yaml
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
#second example configuration for testing of nodebackup
httpd:
image: httpd
hostname: backup-new-test
links:
- redis:redisio
volumes:
- /a/data/backup-new-test/httpdocs:/a/http
- /a/data/backup-new-test/httpconf:/a/conf
restart: unless-stopped
labels:
prerun: '["casst"]'
#prerun: '["echo prerun1", "echo prerun2"]'
postrun: '["echo postrun1","echo postrun2"]'
include: '["inc1", "inc2", "inc3"]'
exclude: '["httpconf", "rbd"]'
nextfullbackup: "1s"
noffullbackup: "2"
backup: "/a/data/backup-new-test"
strategy: "off"
confprefixes: '["allow-source-mismatch"]'
name: "backup-new-test"
processes: '["httpd"]'
#failovercustom: "echo 'failover ####################'"
passphrase: "+++++containerPASS#######"
redis:
image: sameersbn/redis:latest
restart: unless-stopped
httpd2:
image: httpd
hostname: backup-new-test2
links:
- redis:redisio
volumes:
- /a/data/backup-new-test/httpdocs:/a/http
- /a/data/backup-new-test/httpconf:/a/conf
restart: unless-stopped
labels:
prerun: '["echo prerun1", "echo prerun2"]'
#prerun: '["cas2"]'
postrun: '["echo postrun1","echo postrun2"]'
include: '["inc1", "inc2", "inc3"]'
exclude: '["httpconf", "rbd"]'
nextfullbackup: "1s"
noffullbackup: "2"
backup: "/a/data/backup-new-test"
strategy: "off"
confprefixes: '["allow-source-mismatch"]'
name: "backup-new-test2"
processes: '["httpd"]'
#failovercustom: "echo 'failover ###########