Compare commits

..

2 Commits

Author SHA1 Message Date
derekc 086656c622 added bytestash 2026-05-11 08:54:07 -07:00
derekc 167e38310d fixed the nfs variable names 2026-05-11 08:53:58 -07:00
4 changed files with 45 additions and 4 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ BABYBUDDY_ORIGINS=http://127.0.0.1:8000
# ----------------------------------------------- # -----------------------------------------------
# IP address or hostname of the NFS server # IP address or hostname of the NFS server
AIRTRAIL_NFS_SERVER=192.168.1.x BABYBUDDY_NFS_SERVER=192.168.1.x
# NFS export path on the server (e.g. /mnt/pool/docker/babybuddy) # NFS export path on the server (e.g. /mnt/pool/docker/babybuddy)
AIRTRAIL_NFS_DEVICE=:/mnt/pool/docker/babybuddy BABYBUDDY_NFS_DEVICE=:/mnt/pool/docker/babybuddy
+2 -2
View File
@@ -29,5 +29,5 @@ volumes:
driver: local driver: local
driver_opts: driver_opts:
type: nfs type: nfs
o: "addr=${AIRTRAIL_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4" o: "addr=${BABYBUDDY_NFS_SERVER},rw,noatime,rsize=65536,wsize=65536,timeo=600,nfsvers=4"
device: "${AIRTRAIL_NFS_DEVICE}" device: "${BABYBUDDY_NFS_DEVICE}"
+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}"