026997e725
* First pass at an all-in-one compose project * Sort out dependencies so uplink can build in docker * Added the final bits to make this work * Add readme for all-in-one * Fix sed to work on OS X and Linux * Make the readme for all-in-one better * Only bring up the satellite and uplink after fixing the mock overlay * Use a dummy value for mock overlay for now * Finishing touches * Fix url form for aws cli tool * Move files out of all-in-one directory to help with directory confusion. * Added a make target to make all-in-one even better
38 lines
836 B
YAML
38 lines
836 B
YAML
version: '3'
|
|
services:
|
|
test:
|
|
build:
|
|
context: .
|
|
dockerfile: test/Dockerfile
|
|
network_mode: service:test-redis
|
|
test-redis:
|
|
image: redis
|
|
|
|
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
|