-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (55 loc) · 1.36 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
version: '3.7'
services:
jira-core:
build: .
image: ragedunicorn/jira-core:${JIRA_TAG_VERSION}-stable
volumes:
- jira_home:/var/atlassian/jira
- jira_logs:/opt/atlassian/jira/logs
environment:
POSTGRESQL_APP_USER: "app"
POSTGRESQL_APP_PASSWORD: "app"
POSTGRESQL_DATABASE_HOSTNAME: "postgresql"
JIRA_DATABASE_NAME: "jira"
depends_on:
- postgresql
networks:
- jira-core
ports:
- "8080:8080"
healthcheck:
test: ["CMD", "/docker-healthcheck.sh"]
interval: 1m
timeout: 10s
retries: 3
start_period: 1m
labels:
com.ragedunicorn.jira-core.environment: "prod"
com.ragedunicorn.jira-core.description: "JIRA Core"
postgresql:
image: ragedunicorn/postgresql:${POSTGRESQL_TAG_VERSION}-stable
volumes:
- postgresql_data:/var/lib/postgresql
environment:
POSTGRESQL_APP_USER: "app"
POSTGRESQL_APP_PASSWORD: "app"
networks:
- jira-core
expose:
- "5432"
healthcheck:
test: ["CMD", "/docker-healthcheck.sh"]
interval: 1m
timeout: 10s
retries: 3
start_period: 1m
labels:
com.ragedunicorn.postgresql.environment: "prod"
com.ragedunicorn.postgresql.description: "PostgreSQL"
volumes:
jira_home: {}
jira_logs: {}
postgresql_data: {}
networks:
jira-core:
driver: bridge