-
-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 863 Bytes
/
docker-compose.yml
File metadata and controls
32 lines (31 loc) · 863 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
version: "3.1"
services:
tws:
image: industrialninja/ib_gateway:latest
env_file: .env
ports:
- 4004:${IB_PORT:-4002}
environment:
- TZ=America/NewYork
ib-api:
container_name: ib-api
build:
context: .
dockerfile: ./api.Dockerfile
links:
- tws
env_file: .env
environment:
- IB_HOST=tws
volumes:
- .:/usr/src/app
# More info on the node_modules volume at:
# http://jdlm.info/articles/2016/03/06/lessons-building-node-app-docker.html
# under "The node_modules Volume Trick"
- /usr/src/app/node_modules
# Run nodemon with legacy watch
# https://github.com/remy/nodemon#application-isnt-restarting
# Ignore public/ because generating documentation programatically
# on startup was causing an infinite loop
depends_on:
- tws