forked from DataBiosphere/job-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dsub-google-compose.yml
33 lines (33 loc) · 961 Bytes
/
dsub-google-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: '2.1'
services:
rebuild-swagger:
extends:
file: common-compose.yml
service: rebuild-swagger
jmui:
extends:
file: common-compose.yml
service: jmui
# Use --host "jmui" to match the container name, as this is how nginx will
# access the UI on the network. This must match to avoid "Invalid Host"
# errors. See also https://github.com/angular/angular-cli/issues/6349.
command: ["npm", "run-script", "ng", "--", "serve", "--host", "jmui"]
volumes:
- ${PWD}/ui/assets/environments/environment.dsub.google.json:/ui/src/assets/environments/environment.json
dsub:
build:
context: servers
dockerfile: dsub/Dockerfile.dev
extends:
file: common-compose.yml
service: dsub
environment:
- PROVIDER_TYPE=google
- REQUIRES_AUTH=1
jobs-proxy:
extends:
file: common-compose.yml
service: jobs-proxy
links:
- jmui
- dsub:jmapi