fabric-samples/asset-transfer-basic/rest-api-typescript/docker-compose.yaml
James Taylor e7074ba941
Update REST sample with Redis password (#629)
Signed-off-by: James Taylor <jamest@uk.ibm.com>
2022-02-04 14:27:40 +00:00

27 lines
542 B
YAML

version: '3'
# Replace network name with the fabric test-network name
services:
redis:
image: 'redis'
command: ['--maxmemory-policy','noeviction','--requirepass','${REDIS_PASSWORD}']
ports:
- 6379:6379
networks:
- fabric_test
nodeapp:
image: 'ghcr.io/hyperledger/fabric-rest-sample:latest'
command: ['start:dotenv']
ports:
- 3000:3000
env_file:
- ./.env
environment:
- REDIS_PASSWORD
networks:
- fabric_test
networks:
fabric_test:
external: true