Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2.1'
- networks:
- chainpoint-node:
- driver: bridge
- services:
- postgres:
- image: postgres:9.6.5-alpine
- container_name: postgres-node
- restart: always
- # opens it up to the world!! Bad idea!!
- # ports:
- # - "5433:5432"
- networks:
- - chainpoint-node
- volumes:
- - ./.data/postgresql:/var/lib/postgresql/data
- environment:
- POSTGRES_USER: chainpoint
- POSTGRES_PASSWORD: chainpoint
- redis:
- image: redis:4.0.1-alpine
- container_name: redis-node
- restart: always
- # opens it up to the world!! Bad idea!!
- # ports:
- # - "6380:6379"
- networks:
- - chainpoint-node
- volumes:
- - ./.redis/redis.conf:/usr/local/etc/redis/redis.conf:ro
- - ./.data/redis:/data
- command:
- - redis-server
- - /usr/local/etc/redis/redis.conf
- chainpoint-node:
- image: quay.io/chainpoint/chainpoint-node:cbce6251d9b669bb0748c8d7e26ef6f9834935ed
- container_name: chainpoint-node
- restart: on-failure
- ports:
- - "60:8080"
- networks:
- - chainpoint-node
- depends_on:
- - redis
- - postgres
- environment:
- NODE_TNT_ADDRESS: ${NODE_TNT_ADDRESS}
- CHAINPOINT_NODE_PUBLIC_URI: "${CHAINPOINT_NODE_PUBLIC_URI:-http://0.0.0.0}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement