-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
32 lines (32 loc) · 988 Bytes
/
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
version: "3"
services:
data:
image: virtualcommons/foraging:latest
command: ant convert
volumes:
- ./docker/data:/code/experiment-data
- ./docker/processed:/code/processed
- ./docker/shared/build:/code/target
- ./docker/shared/lib:/code/lib
- ./src:/code/src
experiment:
build: ./
image: virtualcommons/foraging:latest
ports:
- "16001:16001"
volumes:
- ./docker/data:/code/experiment-data
- ./docker/shared/html:/usr/share/nginx/html
- ./docker/shared/build:/code/target
- ./docker/shared/lib:/code/lib
# FIXME: cram the current filesystem's ./src/main/resources/configuration into the container.. this is super
# hacky but should work for the interim.
- ./src/main/resources/configuration:/code/src/main/resources/configuration
links:
- web
web:
image: nginx:latest
volumes:
- ./docker/shared/html:/usr/share/nginx/html
ports:
- "80:80"