Skip to content

Instantly share code, notes, and snippets.

@Mika-
Created January 3, 2021 16:22
Show Gist options
  • Save Mika-/c5b5852e08b8febba92d542ab4742085 to your computer and use it in GitHub Desktop.
Save Mika-/c5b5852e08b8febba92d542ab4742085 to your computer and use it in GitHub Desktop.
version: '3'
services:
storj-node-1:
image: storjlabs/storagenode:latest
container_name: storj-1
restart: unless-stopped
ports:
- 28967:28967
- 14002:14002
volumes:
- /data/storj/identity-1:/app/identity
- /mnt/storj-1:/app/config
environment:
- WALLET=
- EMAIL=
- ADDRESS=
- STORAGE=2TB
storj-exporter-1:
image: anclrii/storj-exporter:latest
container_name: storj-exporter-1
restart: unless-stopped
ports:
- 9651:9651
environment:
- STORJ_HOST_ADDRESS=storj-1
- STORJ_API_PORT=14002
storj-node-2:
image: storjlabs/storagenode:latest
container_name: storj-2
restart: unless-stopped
ports:
- 28968:28967
- 14003:14002
volumes:
- /data/storj/identity-2:/app/identity
- /mnt/storj-2:/app/config
environment:
- WALLET=
- EMAIL=
- ADDRESS=
- STORAGE=3TB
storj-exporter-2:
image: anclrii/storj-exporter:latest
container_name: storj-exporter-2
restart: unless-stopped
ports:
- 9652:9651
environment:
- STORJ_HOST_ADDRESS=storj-2
- STORJ_API_PORT=14002
watchtower:
image: storjlabs/watchtower
restart: unless-stopped
container_name: watchtower
command: storj-1 storj-2 watchtower --stop-timeout 300s --interval 10800
volumes:
- /var/run/docker.sock:/var/run/docker.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment