-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
99 lines (92 loc) · 2.87 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: '2'
services:
bugzilla:
image: uneet/bugzilla-customisation
restart: on-failure
ports:
- 8081:80
environment: # Setup by local .env file
SES_SMTP_USERNAME: ${SES_SMTP_USERNAME}
SES_SMTP_PASSWORD: ${SES_SMTP_PASSWORD}
SES_VERIFIED_SENDER: ${SES_VERIFIED_SENDER}
MYSQL_HOST: ${MYSQL_HOST}
MYSQL_PORT: ${MYSQL_PORT}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
PARAMS_URL: ${PARAMS_URL}
depends_on:
- db
db:
image: mysql:5.7
ports:
- 3306:3306
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
volumes:
- /home/hendry/unee-t/bugzilla-customisation/demo-baseline.sql:/docker-entrypoint-initdb.d/main.sql
- ./sql-conf.d:/etc/mysql/conf.d
adminer:
image: adminer
ports:
- 8082:8080
depends_on:
- db
mefe: #aka frontend, CASE_HOST
image: uneet/frontend
restart: always
ports:
- 3000:3000
depends_on:
- mongo
- bugzilla
environment:
MONGO_URL: mongodb://mongo:27017/meteor
ROOT_URL: http://mefe:3000
BUGZILLA_URL: http://bugzilla:80
API_ACCESS_TOKEN: ${API_ACCESS_TOKEN}
BUGZILLA_ADMIN_KEY: ${BUGZILLA_ADMIN_KEY}
CLOUDINARY_URL: ${CLOUDINARY_URL}
CLOUDINARY_PRESET: ${CLOUDINARY_PRESET}
APIENROLL_LAMBDA_URL: http://apienroll:9000
UNIT_CREATE_LAMBDA_URL: http://unit:9000
INVITE_LAMBDA_URL: http://invite:9000
mongo:
image: mongo
ports:
- 27017:27017
apienroll:
image: uneet/apienroll
ports:
- 4000:9000
environment:
PORT: 9000
MYSQL_HOST: db
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
API_ACCESS_TOKEN: ${API_ACCESS_TOKEN}
unit:
image: uneet/unit
ports:
- 4001:9000
environment:
PORT: 9000
MYSQL_HOST: db
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
API_ACCESS_TOKEN: ${API_ACCESS_TOKEN}
invite:
image: uneet/invite
ports:
- 4002:9000
environment:
PORT: 9000
MYSQL_HOST: db
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
API_ACCESS_TOKEN: ${API_ACCESS_TOKEN}
CASE_HOST: http://mefe:3000