-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (43 loc) · 1.2 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
imsi-db:
build: ./src/db
restart: always
env_file: imsi.env
command: postgres
imsi-api:
build: ./src/api
working_dir: /imsi
volumes:
- ./src/api/ecosystem.config.js:/imsi/ecosystem.config.js:ro
- ./src/api/package.json:/imsi/package.json:ro
- ./src/api/src/:/imsi/src/:ro
env_file: imsi.env
links:
- imsi-db
command: yarn run dev
imsi-ui:
build: ./src/ui
working_dir: /imsi
env_file: imsi.env
volumes:
- ./src/ui/.babelrc:/imsi/.babelrc:ro
- ./src/ui/build:/imsi/build/:ro
- ./src/ui/config:/imsi/config/:ro
- ./src/ui/.editorconfig:/imsi/.editorconfig:ro
- ./src/ui/.eslintignore:/imsi/.eslintignore:ro
- ./src/ui/.eslintrc.js:/imsi/.eslintrc.js:ro
- ./src/ui/index.html:/imsi/index.html:ro
- ./src/ui/package.json:/imsi/package.json:ro
- ./src/ui/.postcssrc.js:/imsi/.postcssrc.js:ro
- ./src/ui/src:/imsi/src/:ro
- ./src/ui/static:/imsi/static/:ro
command: yarn run dev
imsi-nginx:
build: ./src/nginx
working_dir: /imsi
volumes_from:
- imsi-ui
links:
- imsi-api
- imsi-ui
ports:
- "8000:80"