-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-build-arm.yaml
86 lines (85 loc) · 1.87 KB
/
docker-compose-build-arm.yaml
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
version: '3.4'
services:
confluence:
build:
context: ./confluence
dockerfile: Dockerfile.arm
container_name: confluence-srv
environment:
- TZ='Asia/Ho_Chi_Minh'
depends_on:
- confluencedb
ports:
- "8090:8090"
volumes:
- confluence_data:/var/confluence
- confluence_core:/opt/confluence
- ./confluence/server.xml:/opt/confluence/conf/server.xml
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8090"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- network-bridge
jira:
build:
context: ./Jira
dockerfile: Dockerfile.arm
container_name: jira-srv
environment:
- TZ='Asia/Ho_Chi_Minh'
depends_on:
- jiradb
ports:
- "8080:8080"
volumes:
- jira_data:/var/jira
- jira_core:/opt/jira
- ./Jira/server.xml:/opt/jira/conf/server.xml
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- network-bridge
confluencedb:
image: postgres:14
container_name: postgresql-confluence
env_file:
- database-confluence.env
# ports:
# - "5432:5432"
volumes:
- database-confluence:/var/lib/postgresql/data/
restart: always
networks:
- network-bridge
jiradb:
image: postgres:13
container_name: postgresql-jira
env_file:
- database-jira.env
# ports:
# - "5432:5432"
volumes:
- database-jiradb:/var/lib/postgresql/data/
restart: always
networks:
- network-bridge
networks:
network-bridge:
driver: bridge
volumes:
jira_data:
external: false
database-confluence:
database-jiradb:
confluence_data:
confluence_core:
jira_core: