-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.prod.yml
64 lines (63 loc) · 1.63 KB
/
docker-compose.prod.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
version: '3.1'
services:
db:
image: mysql
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password
restart: always
expose:
- '3306'
ports:
- '3306:3306'
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: db
MYSQL_USER: test
MYSQL_PASSWORD: test
iverify:
build:
context: .
dockerfile: apps/iverify/Dockerfile
ports:
- '8200:8200'
depends_on:
- db
publisher:
build:
context: .
dockerfile: apps/publisher/Dockerfile-prod
environment:
- apiPath=http://api:3333
- language=en
env_file:
- .env
ports:
- '3334:3334'
depends_on:
- db
api:
build:
context: .
dockerfile: apps/api/Dockerfile-prod
ports:
- '8000:8000'
environment:
- language=en
- DB_HOST=db
env_file:
- .env
depends_on:
- db
triage:
build:
context: .
dockerfile: apps/triage/Dockerfile-prod
ports:
- '3335:3335'
environment:
- language=en
env_file:
- .env
depends_on:
- db