forked from RedCoolBeans/docker-bacula-opensource
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml.dev
52 lines (48 loc) · 1.09 KB
/
docker-compose.yml.dev
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
bacula-db-data:
build: bacula-db-data
container_name: bacula-db-data
bacula-db:
build: bacula-db
container_name: bacula-db
hostname: bacula-db
volumes_from:
- bacula-db-data:rw
environment:
POSTGRES_PASSWORD: U8azIbKXY9QD
bacula-dir:
build: bacula-dir
container_name: bacula-dir
hostname: bacula-dir
ports:
- "9101:9101" # bconsole -> dir
- "9102:9102" # dir -> fd
extra_hosts:
- "bacula-fd:127.0.0.1"
volumes:
- ./configs/ssl:/opt/bacula/etc/ssl:ro
- ./configs/dir:/opt/bacula/etc:ro
environment:
DB_NAME: bacula
DB_HOST: bacula-db
DB_USER: postgres
DB_PASSWORD: U8azIbKXY9QD
bacula-sd:
build: bacula-sd
container_name: bacula-sd
hostname: bacula-sd
ports:
- "9103:9103" # dir/fd -> sd
volumes:
- ./configs/sd:/opt/bacula/etc:ro
- ./configs/ssl:/opt/bacula/etc/ssl:ro
- ./backups:/b:rw
bacula-fd:
build: bacula-fd
container_name: bacula-fd2
hostname: bacula-fd2
ports:
- "9104:9102" # fd -> sd
volumes:
- /:/mnt:ro
environment:
FD_PASSWORD: Uu7ooy5Aequiev9caexe2IengaiTh0Ieiegh7Theweqr