-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
108 lines (95 loc) · 2.12 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: '2'
services:
letsencrypt:
build: ./letsencrypt
command: /bin/true
volumes:
- letsencrypt_certs:/etc/letsencrypt
- letsencrypt_www:/var/www/letsencrypt
nginx:
container_name: nginx
image: nginx:stable
volumes:
- letsencrypt_certs:/etc/nginx/certs
- letsencrypt_www:/var/www/letsencrypt
- ./nginx/conf.d:/etc/nginx/conf.d
- ./nginx/html:/var/www/html
ports:
- 80:80
- 443:443
restart: always
db:
build: ./db
container_name: db
ports:
- 5432:5432
volumes:
- postgres-data:/var/lib/postgresql
jira:
image: cptactionhank/atlassian-jira-software:7.4.0
container_name: jira
ports:
- 8080:8080
volumes:
- jira-home:/var/atlassian/jira
- jira-install:/opt/atlassian/jira
depends_on:
- db
confluence:
image: mminks/docker-oracle-jdk-confluence:5.10
container_name: confluence
ports:
- 8090:8090
volumes:
- confluence-home:/var/atlassian/confluence
- confluence-install:/opt/atlassian/confluence
depends_on:
- db
bitbucket:
image: cptactionhank/atlassian-bitbucket:4.0.2
container_name: bitbucket
ports:
- 7990:7990
volumes:
- bitbucket-home:/var/atlassian/bitbucket
- bitbucket-install:/opt/atlassian/bitbucket
depends_on:
- db
mail:
image: tvial/docker-mailserver:latest
hostname: mail
domainname: ${my_site}
container_name: mail
ports:
- 25:25
volumes:
- maildata:/var/mail
- mailstate:/var/mail-state
- ./mail/config/:/tmp/docker-mailserver
- letsencrypt_certs:/etc/letsenrypt
environment:
- SSL_TYPE=letsencrypt
- SMTP_ONLY
- ONE_DIR=1
- PERMIT_DOCKER=network
volumes:
jira-home:
external: True
jira-install:
external: True
confluence-home:
external: True
confluence-install:
external: True
bitbucket-home:
external: True
bitbucket-install:
external: True
postgres-data:
external: True
letsencrypt_certs: ~
letsencrypt_www: ~
maildata:
driver: local
mailstate:
driver: local