-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcompose.yml
More file actions
37 lines (36 loc) · 952 Bytes
/
compose.yml
File metadata and controls
37 lines (36 loc) · 952 Bytes
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
services:
firefly:
image: ipac/firefly:${BUILD_TAG:-latest} # value taken from shell, or latest
build:
context: ../
dockerfile: firefly/docker/Dockerfile
args:
BUILDPLATFORM: ${BUILDPLATFORM:-linux/amd64}
ports:
- "8080:8080"
env_file:
- ./firefly-docker.env
test:
build:
context: ../
dockerfile: firefly/docker/Dockerfile
target: base
command: bash -c "cd firefly && gradle firefly:test"
volumes: &volInfo
- ../firefly_test_data:/opt/work/firefly_test_data
- ../firefly:/opt/work/firefly
- /opt/work/firefly/.gradle
- /opt/work/firefly/build
- /opt/work/firefly/jars/build
- /opt/work/firefly/node_modules
dev:
build:
context: ../
dockerfile: firefly/docker/Dockerfile
target: dev_env
ports:
- "8080:8080"
- "5050:5050"
env_file:
- ./firefly-docker.env
volumes: *volInfo