-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (38 loc) · 951 Bytes
/
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
#
# 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
restart: always
gemini-eth:
links:
- bots-db
container_name: gemini-eth
image: ahrenstein/cryptodip-bot:latest
volumes:
- ./config:/config
command: [ "python", "-u", "/app/cryptodip_bot.py", "-c", "/config/gemini-config.json"]
restart: always
coinbase-eth:
links:
- bots-db
container_name: coinbase-eth
image: ahrenstein/cryptodip-bot:latest
volumes:
- ./config:/config
command: [ "python", "-u", "/app/cryptodip_bot.py", "-c", "/config/coinbase-config.json"]
restart: always