diff --git a/lsio/xbackbone/docker-compose.yaml b/lsio/xbackbone/docker-compose.yaml new file mode 100644 index 0000000..6364741 --- /dev/null +++ b/lsio/xbackbone/docker-compose.yaml @@ -0,0 +1,28 @@ +# [Xbackbone](https://github.com/SergiX44/XBackBone) is a simple, self-hosted, +# lightweight PHP file manager that support the instant sharing tool ShareX and +# *NIX systems. It supports uploading and displaying images, GIF, video, code, +# formatted text, and file downloading and uploading. Also have a web UI with +# multi user management, past uploads history and search support. + +--- +version: "2.1" +services: + xbackbone: + image: ghcr.io/linuxserver/xbackbone + container_name: xbackbone + environment: + # for GroupID + - PUID=${PUID:-1024} + # for UserID + - PGID=${PGID:-100} + # Specify a timezone to use for example Europe/Amsterdam + - TZ=${TZ:-Europe/Amsterdam} + volumes: + # config directory volume mapping + - ${BASEDIR:-/volume1/docker}/xbackbone/config:/config + ports: + # http gui + - 80:80 + # https gui + - 443:443 + restart: unless-stopped diff --git a/lsio/xbackbone/docker-run.sh b/lsio/xbackbone/docker-run.sh new file mode 100644 index 0000000..97f0a26 --- /dev/null +++ b/lsio/xbackbone/docker-run.sh @@ -0,0 +1,17 @@ +# [Xbackbone](https://github.com/SergiX44/XBackBone) is a simple, self-hosted, +# lightweight PHP file manager that support the instant sharing tool ShareX and +# *NIX systems. It supports uploading and displaying images, GIF, video, code, +# formatted text, and file downloading and uploading. Also have a web UI with +# multi user management, past uploads history and search support. + +source ./.env +docker run -d \ + --name=xbackbone \ + -e PUID=${PUID:-1024} `# for GroupID` \ + -e PGID=${PGID:-100} `# for UserID` \ + -e TZ=${TZ:-Europe/Amsterdam} `# Specify a timezone to use for example Europe/Amsterdam` \ + -p 80:80 `# http gui` \ + -p 443:443 `# https gui` \ + -v ${BASEDIR:-/volume1/docker}/xbackbone/config:/config `# config directory volume mapping` \ + --restart unless-stopped \ + ghcr.io/linuxserver/xbackbone diff --git a/lsio/xbackbone/run-once.sh b/lsio/xbackbone/run-once.sh new file mode 100644 index 0000000..de4f54e --- /dev/null +++ b/lsio/xbackbone/run-once.sh @@ -0,0 +1,3 @@ +ln -s ../docker-env.cfg ./.env +. ./.env +mkdir -p ${BASEDIR:-/volume1/docker}/xbackbone/config