Skip to content

Instantly share code, notes, and snippets.

@Derkades
Last active June 28, 2024 14:14
Show Gist options
  • Save Derkades/b97506fd5ecfd6000b91324d57aa37a7 to your computer and use it in GitHub Desktop.
Save Derkades/b97506fd5ecfd6000b91324d57aa37a7 to your computer and use it in GitHub Desktop.
Storj docker compose
version: '2.4'
services:
storagenode:
container_name: 'storagenode'
image: 'storjlabs/storagenode:beta'
ports: ['28967:28967', '14002:14002']
volumes:
- type: 'bind'
source: '/storj/identity'
target: '/app/identity'
- type: 'bind'
source: '/storj/data'
target: '/app/config'
env_file: /storj/storj.env
restart: 'unless-stopped'
watchtower:
container_name: watchtower
image: storjlabs/watchtower
volumes: ['/var/run/docker.sock:/var/run/docker.sock']
command: storagenode watchtower --stop-timeout 300s --interval 21600
restart: unless-stopped
WALLET=0x0000000000000000000000000000000000000000
[email protected]
ADDRESS=12.34.56.789:28967
BANDWIDTH=20TB
STORAGE=500GB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment