forked from Eleven-Trading/TradeNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (34 loc) · 799 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (34 loc) · 799 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
name: tradenote
services:
tradenote:
image: eleventrading/tradenote
container_name: tradenote_app
ports:
- 8080:8080
environment:
MONGO_URI: mongodb://tradenote:tradenote@mongo:27017/tradenote?authSource=admin
TRADENOTE_DATABASE: tradenote
APP_ID: 123456
MASTER_KEY: 123456
TRADENOTE_PORT: 8080
networks:
- tradenote_net
mongo:
image: mongo:latest
container_name: tradenote_db
volumes:
- tradenote_db:/data/db
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: tradenote
MONGO_INITDB_ROOT_PASSWORD: tradenote
MONGO_INITDB_DATABASE: tradenote
networks:
- tradenote_net
networks:
tradenote_net:
driver: bridge
volumes:
tradenote_db:
name: tradenote_db