-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (55 loc) · 1.04 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
version: '2'
services:
mysql:
image: mysql:5.7.14
container_name: mysql
hostname: mysql
ports:
- "3306:3306"
volumes:
- /home/mysql:/var/lib/mysql
env_file:
- ./definitions.env
bacula:
build: ../dockerfiles/bacula
container_name: bacula
hostname: bacula
ports:
- "9101:9101" # bconsole -> dir
- "9103:9103" # dir ->sd
volumes:
- /home/bacula:/bacula
- ./conf:/tmp/conf
env_file:
- ./definitions.env
depends_on:
- mysql
bweb:
build: ../dockerfiles/bweb
container_name: bweb
hostname: bweb
ports:
- "80:9095"
volumes:
- /bacula:/bacula
- /etc/bacula/:/etc/bacula
env_file:
- ./definitions.env
depends_on:
- mysql
smtp:
image: vipconsult/smtp
container_name: smtp
hostname: smtp
ports:
- "25:25"
environment:
ENV_SMTP_INTERVAL=10
SMTP_INTERVAL=1m
SMTP_PROCESSING=queue_only_load_latch
SMTP_remote_max_parallel=2
SMTP_queue_run_max=5
SMTP_timeout_frozen_after=3h
DOMAINNAME=mydomain.com
env_file:
- ./definitions.env