-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 764 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 764 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
frontend:
build: frontend
command: -Dconfig.file=/etc/opt/app/docker.conf
links:
- "service"
ports:
- "49910:9000"
# volumes:
# - frontend/conf:/etc/opt/app:ro
volumes_from:
- maven
service:
build: service
command: -Dconfig.file=/etc/opt/app/docker.conf
links:
- "database"
ports:
- "49920:8880"
expose:
- "8880"
# volumes:
# - service/src/main/resources:/etc/opt/app:ro
volumes_from:
- maven
database:
image: postgres:9.4
expose:
- "5432"
maven:
image: debian:wheezy
volumes:
- ~/.m2:/root/.m2:rw
- ~/.ivy2:/root/.ivy2:rw
- ~/.m2:/home/docker/.m2:rw
- ~/.ivy2:/home/docker/.ivy2:rw
- service/src/main/resources:/root/.sbt:ro