Skip to content

Instantly share code, notes, and snippets.

@pakonda
Last active December 4, 2021 13:53
Show Gist options
  • Save pakonda/f52375f6ddbe45d6f64861125c85e39c to your computer and use it in GitHub Desktop.
Save pakonda/f52375f6ddbe45d6f64861125c85e39c to your computer and use it in GitHub Desktop.
storj node
version: '3'
services:
storagenode:
container_name: storagenode
image: storjlabs/storagenode:latest
environment:
- WALLET=xxx
- EMAIL=xxx
- ADDRESS=xxx:1234
- STORAGE=1TB
# - STARTUP=true
ports:
- 28967:28967
- 14002:14002
volumes:
- /root/.local/share/storj/identity:/app/identity
- /mnt/storj/storagenode:/app/config
command: "--operator.wallet-features=zksync"
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "100m"
watchtower:
container_name: watchtower
image: storjlabs/watchtower:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: storagenode watchtower --stop-timeout 300s --interval 21600
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "20m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment