-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.stack.yml
48 lines (48 loc) · 1.27 KB
/
docker-compose.stack.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
version: '3.7'
services:
jira-core:
image: ragedunicorn/jira-core:1.2.0-stable
volumes:
- jira_home:/var/atlassian/jira
- jira_logs:/opt/atlassian/jira/logs
environment:
POSTGRESQL_DATABASE_HOSTNAME: "postgresql"
JIRA_DATABASE_NAME: "jira"
depends_on:
- postgresql
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:1.2.0-stable
volumes:
- postgresql_data:/var/lib/postgresql
secrets:
- com.ragedunicorn.postgresql.app_user
- com.ragedunicorn.postgresql.app_user_password
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: {}
secrets:
com.ragedunicorn.postgresql.app_user:
external: true
com.ragedunicorn.postgresql.app_user_password:
external: true