-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
34 lines (30 loc) · 879 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
# Start the testnet server with the command 'docker-compose up -d'
token-liquidity-mongodb:
image: mongo
ports:
- "3500:27017" # <host port>:<container port>
volumes:
- ./database:/data/db
command: mongod --smallfiles --logpath=/dev/null # -- quiet
restart: always
token-liquidity-testnet:
build: ./testnet
dockerfile: Dockerfile
links:
- token-liquidity-mongodb
ports:
- "5100:5100" # <host port>:<container port>
volumes:
- ./testnet/logs:/home/token/token-liquidity/logs
- ./testnet/state:/home/token/token-liquidity/state
token-liquidity-mainnet:
build: ./mainnet
dockerfile: Dockerfile
links:
- token-liquidity-mongodb
ports:
- "5000:5000" # <host port>:<container port>
volumes:
- ./mainnet/logs:/home/token/token-liquidity/logs
- ./mainnet/state:/home/token/token-liquidity/state
restart: always