1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-25 20:01:10 +01:00
barge/compose-files/faucet.yml

26 lines
531 B
YAML

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
- keeper-node
environment:
FAUCET_NODE: ${KEEPER_RPC_URL}
FAUCET_TIMESPAN: ${FAUCET_TIMESPAN}
NODE_ENV: 'production'
MONGO_URL: 'mongodb://mongodb:27017/faucetdbtest'