-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml.dist
47 lines (42 loc) · 1.35 KB
/
docker-compose.yml.dist
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
version: "3"
services:
nginx:
restart: unless-stopped
image: nginx:latest
ports:
- 80:80
- 443:443
command: "/bin/sh -c 'while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\"'"
volumes:
- ./configs/nginx:/etc/nginx/conf.d:ro
- ./configs/certbot/conf:/etc/letsencrypt:rw
- ./configs/certbot/www:/var/www/certbot:rw
- ./logs/nginx:/var/log/nginx
certbot:
restart: unless-stopped
image: certbot/certbot
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
volumes:
- /etc/localtime:/etc/localtime:ro
- ./configs/certbot/conf:/etc/letsencrypt:rw
- ./configs/certbot/www:/var/www/certbot:rw
core:
restart: unless-stopped
image: dchevell/jira-core:latest
environment:
- CATALINA_CONNECTOR_PROXYNAME=core
- CATALINA_CONNECTOR_PROXYPORT=80
- CATALINA_CONNECTOR_SCHEME=http
- CATALINA_CONNECTOR_SECURE=false
volumes:
- ./jira/core:/var/atlassian/application-data/jira
software:
restart: unless-stopped
image: dchevell/jira-software:latest
environment:
- CATALINA_CONNECTOR_PROXYNAME=software
- CATALINA_CONNECTOR_PROXYPORT=80
- CATALINA_CONNECTOR_SCHEME=http
- CATALINA_CONNECTOR_SECURE=false
volumes:
- ./jira/software:/var/atlassian/application-data/jira