mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
readme update for docker added dockerignore added dumb-init env var added to compose readme update Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
26 lines
423 B
YAML
26 lines
423 B
YAML
version: '3'
|
|
# Replace network name with the fabric test-network name
|
|
services:
|
|
redis:
|
|
image: 'redis'
|
|
ports:
|
|
- 6379:6379
|
|
networks:
|
|
- net_test
|
|
|
|
nodeapp:
|
|
image: 'fabricapp'
|
|
ports:
|
|
- 3000:3000
|
|
env_file:
|
|
- ./.env
|
|
environment:
|
|
- REDIS_HOST=redis
|
|
- AS_LOCAL_HOST=false
|
|
networks:
|
|
- net_test
|
|
|
|
|
|
networks:
|
|
net_test:
|
|
external: true
|