storj/docker-compose.yaml
Matt Robinson 0a78e741ec
Build and upload binaries (#296)
* First pass at building binaries

* Finished building images

* Reworked some bits to save binaries in a better place.

* First pass at uploading binaries

* Builds for freebsd fail currently

* Add ignore file for docker builds to not invalidate the cache as often

* Docker image for 1.11-alpine exists now

* Name windows binaries correctly

* The makefile is used in tests.

* Take a swing at updating the tests for 1.11

* Switch to something with glibc so the race detector works.

* Remove unused .PHONY targets
2018-08-31 11:21:44 -04:00

38 lines
834 B
YAML

version: '3'
services:
test:
build:
context: .
dockerfile: test/Dockerfile
network_mode: service:test-redis
test-redis:
image: redis
storagenode:
image: storjlabs/storagenode:${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