-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (53 loc) · 1021 Bytes
/
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
services:
api:
build:
context: .
target: aps
args:
- RMS_IMAGE
# target: truncation-rules
command:
- "roxenv"
- "poetry"
- "run"
- "python"
- "aps/api/app.py"
- "run"
- "--host"
- "0.0.0.0"
environment:
FLASK_DEBUG: '1'
RMS_PROJECT_PATH: "${RMS_PROJECT_PATH}"
volumes:
- './aps:/code/aps'
- './models/private:/private'
- './models/project:/project'
env_file:
- .env
web:
build:
context: .
target: gui
environment:
NODE_ENV: development
HOST: '0.0.0.0'
volumes:
- './gui/src:/code/src'
- 'yarn-cache:/yarn'
- 'node-cache:/code/node_modules/.cache'
env_file:
- gui/.env
proxy:
build:
context: .
target: server
ports:
- '8080:8080'
volumes:
- './nginx/local.nginx:/opt/bitnami/nginx/conf/server_blocks/local.conf:ro'
depends_on:
- web
- api
volumes:
yarn-cache:
node-cache: