-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcompose.yml
36 lines (36 loc) · 1.04 KB
/
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
version: '3.4'
services:
suit:
image: ipac/suit:${BUILD_TAG:-latest} # value taken from shell, or latest
build:
context: ../
dockerfile: firefly/docker/Dockerfile
args:
build_dir: suit
checkoutFirefly: ${checkoutFirefly:-}
target: ${ADDTL_ARGS} -Psso.auth.required=false :suit:warAll # use this for production build: -Pehcache.multicast.ttl=32 -Psso.auth.required=false suit:checkoutFirefly :suit:warAll
ports:
- "8080:8080"
env_file:
- ./suit-docker.env
dev:
build:
context: ../
dockerfile: firefly/docker/Dockerfile
target: dev_env
ports:
- "8090:8080"
- "5050:5050"
environment:
- work_dir=suit
- project=suit
volumes:
- ../firefly:/opt/work/firefly
- ../suit:/opt/work/suit
- /opt/work/firefly/.gradle
- /opt/work/firefly/build
- /opt/work/firefly/jars/build
- /opt/work/firefly/node_modules
- /opt/work/suit/.gradle
- /opt/work/suit/build
- /opt/work/suit/jars/build