-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-compose.yml
43 lines (42 loc) · 1005 Bytes
/
test-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
#
# Copyright 2021, Matthew Ahrenstein, All Rights Reserved.
#
# Maintainers:
# - Matthew Ahrenstein: [email protected]
#
# See LICENSE
version: '2'
services:
bots-db:
container_name: bots-db
image: mongo:3.6
volumes:
- ./config/db-data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: bots
MONGO_INITDB_ROOT_PASSWORD: buythedip
expose:
- 27017
ports:
- "127.0.0.1:27017:27017"
restart: always
gemini-eth:
links:
- bots-db
container_name: gemini-eth
image: local/dipbot:test
build: ./
volumes:
- ./config:/config
command: [ "python", "-u", "/app/cryptodip_bot.py", "-c", "/config/gemini-config.json", "-d"]
restart: always
coinbase-eth:
links:
- bots-db
container_name: coinbase-eth
image: local/dipbot:test
build: ./
volumes:
- ./config:/config
command: [ "python", "-u", "/app/cryptodip_bot.py", "-c", "/config/coinbase-config.json", "-d"]
restart: always