added bytestash

This commit is contained in:
2026-05-11 08:54:07 -07:00
parent 167e38310d
commit 086656c622
2 changed files with 41 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# ByteStash Docker Compose Environment Variables
# Container image version tag (e.g. "1.5.4" or "latest")
BYTESTASH_VERSION=latest
# Host port to expose the ByteStash web UI on
BYTESTASH_PORT=5000
# IP address or hostname of the NFS server
BYTESTASH_NFS_SERVER=192.168.1.100
# NFS export path on the server (e.g. "/mnt/pool/bytestash")
BYTESTASH_NFS_DEVICE=/mnt/pool/bytestash
+28
View File
@@ -0,0 +1,28 @@
services:
app:
image: ghcr.io/jordan-dalby/bytestash:${BYTESTASH_VERSION:-latest}
container_name: bytestash-app
ports:
- ${BYTESTASH_PORT:-5000}:5000
volumes:
- bytestash-app:/data/snippets:rw
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:5000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
deploy:
resources:
limits:
memory: 512m
restart: unless-stopped
volumes:
bytestash-app:
name: bytestash-app
driver: local
driver_opts:
type: nfs
o: "addr=${BYTESTASH_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
device: "${BYTESTASH_NFS_DEVICE}"