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:
|
|
|
|
- test-postgres-pointerdb
|
2018-07-25 22:47:02 +01:00
|
|
|
test-redis:
|
|
|
|
image: redis
|
2018-10-25 18:11:28 +01:00
|
|
|
test-postgres-pointerdb:
|
|
|
|
image: postgres
|
|
|
|
environment:
|
|
|
|
- POSTGRES_USER=pointerdb
|
|
|
|
- POSTGRES_PASSWORD=pg-secret-pass
|
2018-08-23 16:48:03 +01:00
|
|
|
|
2018-08-31 16:21:44 +01:00
|
|
|
storagenode:
|
|
|
|
image: storjlabs/storagenode:${VERSION}
|
2018-08-23 16:48:03 +01:00
|
|
|
environment:
|
|
|
|
- SATELLITE_ADDR=satellite:7777
|
2018-09-12 16:02:53 +01:00
|
|
|
- STORJ_LOG_LEVEL=info
|
2018-08-23 16:48:03 +01:00
|
|
|
links:
|
|
|
|
- satellite
|
|
|
|
satellite:
|
|
|
|
image: storjlabs/satellite:${VERSION}
|
|
|
|
environment:
|
|
|
|
- API_KEY=abc123
|
|
|
|
- BOOTSTRAP_ADDR=localhost:8080
|
2018-09-07 20:46:08 +01:00
|
|
|
- IDENTITY_ADDR=:7777
|
2018-09-12 16:02:53 +01:00
|
|
|
- STORJ_MOCK_OVERLAY_NODES=INTENTIONALLY:LEFT:BLANK
|
|
|
|
- STORJ_LOG_LEVEL=info
|
2018-08-23 16:48:03 +01:00
|
|
|
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:
|
|
|
|
- API_KEY=abc123
|
2018-09-07 20:46:08 +01:00
|
|
|
- SATELLITE_ADDR=satellite:7777
|
2018-09-12 16:02:53 +01:00
|
|
|
- STORJ_LOG_LEVEL=info
|
2018-08-23 16:48:03 +01:00
|
|
|
ports:
|
|
|
|
- 7777:7777
|