-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
82 lines (80 loc) · 2.42 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
version: '3.8'
services:
app:
container_name: jirapp
build:
context: ./jira-connect-app
ports:
- "8080:8080"
volumes:
- ./jira-connect-app:/opt
environment:
NODE_ENV: development
command: bash -c "npm install && node index.js"
db:
container_name: postgres
restart: always
image: postgres:latest
expose:
- '${DB_PORT}:5432'
environment:
POSTGRES_DB: jdbc:postgresql://db:5432/postgres
POSTGRES_USER: ${AIV_DB_USER}
POSTGRES_PASSWORD: ${AIV_DB_PASSWORD}
volumes:
- ./config/init.sql:/docker-entrypoint-initdb.d/init.sql
- ./pg_data:/var/lib/postgresql/data
ports:
- '${DB_PORT}:5432'
pgadmin:
container_name: pgadmin
image: dpage/pgadmin4:latest
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL}
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD}
ports:
- '${PGADMIN_PORT}:80'
depends_on:
- db
aiv:
container_name: aiv
image: jits023/aiv-jira:6.1.0
command: >
/bin/bash -c "
java --add-opens=java.base/java.nio=ALL-UNNAMED --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED -Dspring.config.location=file:/opt/repository/econfig/application.yml -Dloader.path=/opt/config/drivers -cp /opt/repository/econfig/:run.jar org.springframework.boot.loader.PropertiesLauncher"
ports:
- "8082:8082"
depends_on:
- db
environment:
aiv_port: 8082
aiv_base: /opt
aiv_db_url: jdbc:postgresql://db:5432/postgres
aiv_db_user: ${AIV_DB_USER}
aiv_db_password: ${AIV_DB_PASSWORD}
security_db_url: jdbc:postgresql://db:5432/postgres?currentSchema=security
security_db_user: ${AIV_DB_USER}
security_db_password: ${AIV_DB_PASSWORD}
jira_db_url: jdbc:postgresql://db:5432/aivjira
jira_db_user: ${AIV_DB_USER}
jira_db_password: ${AIV_DB_PASSWORD}
addon_base_url: http://localhost:8080/aiv
atlassian_url: https://app.atlassian.net
volumes:
- ./config:/opt/config
- ./repository:/opt/repository
- ./logs:/opt/logs
- ./dataloc/:/usr/local/temp/
restart: always
aiv-ai:
container_name: aiv-ai
image: jits023/aiv-ai:6.1.0
ports:
- "8001:8001"
environment:
- AIV_JUPYTER=aiv-jupyter
- AIV_TOKEN=aivhub
volumes:
- "./dataloc/:/usr/local/temp/"
restart: always