For the ones looking for a docker-compose.yml file:
version: "3.3"
services:
<containername>:
image: storjlabs/storagenode:latest
container_name: <containername>
volumes:
- type: bind
source: <"/Path/to/identity/files">
target: /app/identity
- type: bind
source: <"/Path/to/Data/storage/location">
target: /app/config
ports:
- 28967:28967
- 14002:14002
restart: unless-stopped
stop_grace_period: 300s
environment:
- WALLET=<WalletID>
- EMAIL=<Emailaddress>
- ADDRESS=<example.com:28967>
- STORAGE=<1TB>
watchtower:
image: storjlabs/watchtower
restart: always
container_name: watchtower
command: "<containername> watchtower --stop-timeout 300s --interval 21600"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
Thanks guys!
Sometimes you just need a nudge in the right direction!