-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
49 lines (42 loc) · 1.09 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '2'
# Build the gridappsd docker containers
# Set the release environment variable in the shell
# export GRIDAPPSD_TAG=rc2
# build the containers
# docker-compose build
services:
gridappsd_base:
build:
context: .
dockerfile: Dockerfile.gridappsd_base
image: gridappsd/gridappsd_base:${GRIDAPPSD_TAG}
gridappsd:
build:
context: .
dockerfile: Dockerfile.gridappsd
image: gridappsd/gridappsd:${GRIDAPPSD_TAG}
ports:
- 61614:61614
- 61616:61616
- 61613:61613
working_dir: /gridappsd
environment:
- PATH=/gridappsd/bin:/gridappsd/lib:/gridappsd/services/fncsgossbridge/service:$PATH
volumes:
- ./conf:/gridappsd/conf
- ./applications:/gridappsd/applications
- ./services:/gridappsd/services
# - ./log:/tmp/gridappsd/log
# depends_on:
# - gridappsd/gridappsd_base
#
# entrypoint: "tail -f /dev/null"
viz:
build:
context: .
dockerfile: Dockerfile.gridappsd_viz
image: gridappsd/viz:${GRIDAPPSD_TAG}
ports:
- 8080:8082
depends_on:
- gridappsd