storj/docker-compose.yaml

65 lines
1.6 KiB
YAML
Raw Normal View History

version: '3'
services:
test-redis:
image: redis
test-postgres:
image: postgres
2019-02-04 20:37:46 +00:00
ports:
- 5432:5432
environment:
- POSTGRES_USER=storj
- POSTGRES_PASSWORD=storj-pass
2019-02-04 20:37:46 +00:00
- POSTGRES_DB=teststorj
satellite:
image: storjlabs/satellite:${VERSION:-latest}
environment:
- API_KEY=abc123
2018-12-18 14:27:46 +00:00
- STORJ_CHECKER_QUEUE_ADDRESS=redis://redis:6379/?db=0
- STORJ_DATABASE=postgres://postgres:postgres@postgres/satellite?sslmode=disable
- STORJ_LOG_LEVEL=debug
- STORJ_REPAIRER_QUEUE_ADDRESS=redis://redis:6379/?db=0
- STORJ_IDENTITY_SERVER_ADDRESS=satellite:7777
restart: always
ports:
- 7778:7777
links:
- redis
2018-12-18 14:27:46 +00:00
- postgres
depends_on:
- redis
2018-12-18 14:27:46 +00:00
- postgres
storagenode:
image: storjlabs/storagenode:${VERSION:-latest}
environment:
- SATELLITE_ADDR=satellite:7777
2019-10-04 21:48:41 +01:00
- STORJ_CONTACT_EXTERNAL_ADDRESS=storagenode:7777
- STORJ_OPERATOR_EMAIL=hello@storj.io
- STORJ_OPERATOR_WALLET=0x0000000000000000000000000000000000000000
- STORJ_LOG_LEVEL=debug
restart: always
links:
- satellite
gateway:
image: storjlabs/gateway:${VERSION:-latest}
command: --rs.min-threshold 1 --rs.max-threshold 1 --rs.repair-threshold 1 --rs.success-threshold 1
environment:
- API_KEY=abc123
- SATELLITE_ADDR=satellite:7777
- STORJ_LOG_LEVEL=debug
- STORJ_SERVER_ADDRESS=0.0.0.0:7777
ports:
- 7777:7777
restart: always
links:
- satellite
- storagenode
redis:
image: redis
2018-12-18 14:27:46 +00:00
postgres:
image: postgres:9.6
2018-12-18 14:27:46 +00:00
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=satellite