This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
/
docker-compose.yml_tpl
115 lines (115 loc) · 3.26 KB
/
docker-compose.yml_tpl
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: '3'
services:
app-py:
container_name: app-py
# deploy:
# replicas: 2
build:
context: ./python
dockerfile: app.Dockerfile
environment:
- DB_USER=your-postgresql-server-user
- DB_HOST=your-postgresql-server-address
- DB_DATABASE=intelligence
- DB_PASSWORD=your-postgresql-server-password
- DB_PORT=5432
volumes:
- ./python/:/app
- /Users/<user-name>/Desktop/camera_root:/input
- /Users/<user-name>/Desktop/output:/output_test
insight-face-py:
container_name: insight-face-py
build:
context: ./python
dockerfile: if.Dockerfile
environment:
- DB_USER=your-postgresql-server-user
- DB_HOST=your-postgresql-server-address
- DB_DATABASE=intelligence
- DB_PASSWORD=your-postgresql-server-password
- DB_PORT=5432
volumes:
- ./python/:/app
- /Users/<user-name>/Desktop/output:/output_test
super-resolution-py:
container_name: super-resolution-py
build:
context: ./python
dockerfile: sr.Dockerfile
environment:
- DB_USER=your-postgresql-server-user
- DB_HOST=your-postgresql-server-address
- DB_DATABASE=intelligence
- DB_PASSWORD=your-postgresql-server-password
- DB_PORT=5432
volumes:
- ./python/:/app
- /Users/<user-name>/Desktop/output:/output_test
similarity-process-py:
container_name: similarity-process-py
build:
context: ./python
dockerfile: sp.Dockerfile
environment:
- DB_USER=your-postgresql-server-user
- DB_HOST=your-postgresql-server-address
- DB_DATABASE=intelligence
- DB_PASSWORD=your-postgresql-server-password
- DB_PORT=5432
volumes:
- ./python/:/app
- /Users/<user-name>/Desktop/output:/output_test
data-retention-py:
container_name: data-retention-py
build:
context: ./python
dockerfile: dr.Dockerfile
environment:
- DB_USER=your-postgresql-server-user
- DB_HOST=your-postgresql-server-address
- DB_DATABASE=intelligence
- DB_PASSWORD=your-postgresql-server-password
- DB_PORT=5432
volumes:
- ./python/:/app
- /Users/<user-name>/Desktop/output:/output_test
backend:
container_name: backend
build: ./api
ports:
- "4300:4300"
depends_on:
- app-py
volumes:
- /Users/<user-name>/Desktop/output:/usr/src/output
environment:
- NODE_ENV=development
- LOGGING=true
- API_PORT=4300
# Database
- DB_DIALECT=postgres
- DB_USER=your-postgresql-server-user
- DB_HOST=your-postgresql-server-address
- DB_DATABASE=intelligence
- DB_PASSWORD=your-postgresql-server-password
- DB_PORT=5432
- SEQ_LOGGING=false
# Time format
- DATE_TIME_FORMAT=YYYY-MM-DD HH:mm
# Security
- ALLOW_ACCESS_ORIGIN_ALL=true
# EMAIL
- EMAIL_ENABLED=False
- EMAIL_HOST=smtp-mail.somemail.com
- EMAIL_PORT=587
- EMAIL_USER=
- EMAIL_PASSWORD=
frontend:
container_name: frontend
build: ./front-end
ports:
- "3000:3000"
environment:
# So that front end knows where api is
- REACT_APP_API_BASE_URL=http://localhost:4300/