2018-07-25 22:47:02 +01:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
test-redis:
|
|
|
|
image: redis
|
2018-11-15 18:36:57 +00:00
|
|
|
test-postgres:
|
2018-10-25 18:11:28 +01:00
|
|
|
image: postgres
|
2019-02-04 20:37:46 +00:00
|
|
|
ports:
|
|
|
|
- 5432:5432
|
2018-10-25 18:11:28 +01:00
|
|
|
environment:
|
2018-11-15 18:36:57 +00:00
|
|
|
- POSTGRES_USER=storj
|
|
|
|
- POSTGRES_PASSWORD=storj-pass
|
2019-02-04 20:37:46 +00:00
|
|
|
- POSTGRES_DB=teststorj
|
2018-08-23 16:48:03 +01:00
|
|
|
|
|
|
|
satellite:
|
2019-01-03 19:54:27 +00:00
|
|
|
image: storjlabs/satellite:${VERSION:-latest}
|
2018-08-23 16:48:03 +01:00
|
|
|
environment:
|
|
|
|
- API_KEY=abc123
|
2018-12-18 14:27:46 +00:00
|
|
|
- STORJ_CHECKER_QUEUE_ADDRESS=redis://redis:6379/?db=0
|
|
|
|
- STORJ_DATABASE=postgres://postgres:postgres@postgres/satellite?sslmode=disable
|
2019-01-03 19:54:27 +00:00
|
|
|
- STORJ_LOG_LEVEL=debug
|
|
|
|
- STORJ_REPAIRER_QUEUE_ADDRESS=redis://redis:6379/?db=0
|
|
|
|
- STORJ_IDENTITY_SERVER_ADDRESS=satellite:7777
|
2018-12-04 21:10:23 +00:00
|
|
|
restart: always
|
2019-01-03 19:54:27 +00:00
|
|
|
ports:
|
|
|
|
- 7778:7777
|
2018-08-23 16:48:03 +01:00
|
|
|
links:
|
|
|
|
- redis
|
2018-12-18 14:27:46 +00:00
|
|
|
- postgres
|
2018-08-23 16:48:03 +01:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2018-12-18 14:27:46 +00:00
|
|
|
- postgres
|
2018-12-04 21:10:23 +00:00
|
|
|
storagenode:
|
2019-01-03 19:54:27 +00:00
|
|
|
image: storjlabs/storagenode:${VERSION:-latest}
|
2018-12-04 21:10:23 +00:00
|
|
|
environment:
|
|
|
|
- SATELLITE_ADDR=satellite:7777
|
2019-10-04 21:48:41 +01:00
|
|
|
- STORJ_CONTACT_EXTERNAL_ADDRESS=storagenode:7777
|
|
|
|
- STORJ_OPERATOR_EMAIL=hello@storj.io
|
|
|
|
- STORJ_OPERATOR_WALLET=0x0000000000000000000000000000000000000000
|
2018-12-04 21:10:23 +00:00
|
|
|
- STORJ_LOG_LEVEL=debug
|
|
|
|
restart: always
|
|
|
|
links:
|
|
|
|
- satellite
|
|
|
|
gateway:
|
2019-01-03 19:54:27 +00:00
|
|
|
image: storjlabs/gateway:${VERSION:-latest}
|
|
|
|
command: --rs.min-threshold 1 --rs.max-threshold 1 --rs.repair-threshold 1 --rs.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
|
2019-01-03 19:54:27 +00:00
|
|
|
- STORJ_SERVER_ADDRESS=0.0.0.0:7777
|
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
|
2018-12-18 14:27:46 +00:00
|
|
|
postgres:
|
2020-06-25 18:17:39 +01:00
|
|
|
image: postgres:12.3
|
2018-12-18 14:27:46 +00:00
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=postgres
|
|
|
|
- POSTGRES_USER=postgres
|
|
|
|
- POSTGRES_DB=satellite
|