2018-07-25 22:47:02 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
test:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: test/Dockerfile
|
|
|
|
network_mode: service:test-redis
|
2018-10-25 18:11:28 +01:00
|
|
|
depends_on:
|
2018-11-15 18:36:57 +00:00
|
|
|
- test-postgres
|
2018-07-25 22:47:02 +01:00
|
|
|
test-redis:
|
|
|
|
image: redis
|
2018-11-15 18:36:57 +00:00
|
|
|
test-postgres:
|
2018-10-25 18:11:28 +01:00
|
|
|
image: postgres
|
|
|
|
environment:
|
2018-11-15 18:36:57 +00:00
|
|
|
- POSTGRES_USER=storj
|
|
|
|
- POSTGRES_PASSWORD=storj-pass
|
2018-08-23 16:48:03 +01:00
|
|
|
|
|
|
|
satellite:
|
|
|
|
image: storjlabs/satellite:${VERSION}
|
|
|
|
environment:
|
|
|
|
- API_KEY=abc123
|
|
|
|
- BOOTSTRAP_ADDR=localhost:8080
|
2018-12-04 21:10:23 +00:00
|
|
|
- IDENTITY_ADDR=satellite:7777
|
|
|
|
- STORJ_LOG_LEVEL=debug
|
|
|
|
- STORJ_CHECKER_QUEUE_ADDRESS=redis://redis:6379/?db=1
|
|
|
|
- STORJ_REPAIRER_QUEUE_ADDRESS=redis://redis:6379/?db=1
|
|
|
|
restart: always
|
2018-08-23 16:48:03 +01:00
|
|
|
links:
|
|
|
|
- redis
|
|
|
|
depends_on:
|
|
|
|
- redis
|
2018-12-04 21:10:23 +00:00
|
|
|
storagenode:
|
|
|
|
image: storjlabs/storagenode:${VERSION}
|
|
|
|
environment:
|
|
|
|
- SATELLITE_ADDR=satellite:7777
|
|
|
|
- STORJ_LOG_LEVEL=debug
|
|
|
|
- STORJ_IDENTITY_ADDRESS=storagenode:7777
|
|
|
|
restart: always
|
|
|
|
links:
|
|
|
|
- satellite
|
|
|
|
gateway:
|
|
|
|
image: storjlabs/gateway:${VERSION}
|
|
|
|
command: --min-threshold 1 --max-threshold 2 --repair-threshold 1 --success-threshold 1
|
2018-08-23 16:48:03 +01:00
|
|
|
environment:
|
|
|
|
- API_KEY=abc123
|
2018-09-07 20:46:08 +01:00
|
|
|
- SATELLITE_ADDR=satellite:7777
|
2018-12-04 21:10:23 +00:00
|
|
|
- STORJ_LOG_LEVEL=debug
|
2018-08-23 16:48:03 +01:00
|
|
|
ports:
|
|
|
|
- 7777:7777
|
2018-12-04 21:10:23 +00:00
|
|
|
restart: always
|
|
|
|
links:
|
|
|
|
- satellite
|
|
|
|
- storagenode
|
|
|
|
redis:
|
|
|
|
image: redis
|