-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
33 lines (33 loc) · 1.12 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
version: "3.1"
# TODO: gh-87 proper link to docker file with multiple contexts
services:
nginx-router:
networks: { default: { aliases: [ 'zorko-io.local' ] } }
image: zorko-proxy:latest
restart: always
ports: ['80:80']
depends_on:
- web-portal
- web-portal-client
volumes:
- ./dev-ops/nginx-router/conf.d:/etc/nginx/conf.d
web-portal:
networks: { default: { aliases: [ 'zorko-io.backend' ] } }
image: zorko-common:latest
restart: always
command: sh -c "cd ./apps/web-portal && yarn run start:debug"
ports: ['7777:7777', '9229:9229']
volumes:
- ./apps/web-portal:/zorko-platform/apps/web-portal
- ./packages:/zorko-platform/packages
- ./tools:/zorko-platform/tools
web-portal-client:
networks: { default: { aliases: [ 'zorko-io.frontend' ] } }
image: zorko-common:latest
restart: always
command: sh -c "cd ./apps/web-portal-client && yarn run start"
ports: ['8086:8086']
volumes:
- ./apps/web-portal-client:/zorko-platform/apps/web-portal-client
- ./packages:/zorko-platform/packages
- ./tools:/zorko-platform/tools