2018-07-25 22:47:02 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
test:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: test/Dockerfile
|
|
|
|
network_mode: service:test-redis
|
|
|
|
test-redis:
|
|
|
|
image: redis
|
2018-08-23 16:48:03 +01:00
|
|
|
|
|
|
|
storage-node:
|
|
|
|
image: storjlabs/storage-node:${VERSION}
|
|
|
|
environment:
|
|
|
|
- SATELLITE_ADDR=satellite:7777
|
|
|
|
links:
|
|
|
|
- satellite
|
|
|
|
satellite:
|
|
|
|
image: storjlabs/satellite:${VERSION}
|
|
|
|
command: --mock-overlay.nodes INTENTIONALLY:LEFT:BLANK
|
|
|
|
environment:
|
|
|
|
- API_KEY=abc123
|
|
|
|
- IDENTITY_ADDR=:7777
|
|
|
|
- BOOTSTRAP_ADDR=localhost:8080
|
|
|
|
links:
|
|
|
|
- redis
|
|
|
|
depends_on:
|
|
|
|
- redis
|
|
|
|
redis:
|
|
|
|
image: redis
|
|
|
|
uplink:
|
|
|
|
image: storjlabs/uplink:${VERSION}
|
|
|
|
command: --min-threshold 1 --max-threshold 1 --repair-threshold 1 --success-threshold 1
|
|
|
|
environment:
|
|
|
|
- SATELLITE_ADDR=satellite:7777
|
|
|
|
- API_KEY=abc123
|
|
|
|
ports:
|
|
|
|
- 7777:7777
|