2019-07-18 12:03:03 +02:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
mongodb:
|
|
|
|
image: mongo:4
|
|
|
|
ports:
|
|
|
|
- 27017:27017
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.20
|
|
|
|
|
|
|
|
faucet:
|
|
|
|
image: oceanprotocol/faucet:$FAUCET_VERSION
|
|
|
|
ports:
|
|
|
|
- 3001:3001
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
ipv4_address: 172.15.0.21
|
|
|
|
depends_on:
|
|
|
|
- mongodb
|
2019-07-18 14:38:44 +02:00
|
|
|
- keeper-node
|
2019-07-18 12:03:03 +02:00
|
|
|
environment:
|
2019-07-18 14:38:44 +02:00
|
|
|
FAUCET_NODE: ${KEEPER_RPC_URL}
|
2019-07-18 15:41:41 +02:00
|
|
|
FAUCET_TIMESPAN: ${FAUCET_TIMESPAN}
|
2019-07-18 12:03:03 +02:00
|
|
|
NODE_ENV: 'production'
|
|
|
|
MONGO_URL: 'mongodb://mongodb:27017/faucetdbtest'
|