All templates

ByteStash

v1.0.0

A code snippet storage solution written in React & node.js

developmentproductivity by HomerSimpson3k
x-arcane:
  icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/bytestash.svg
  urls:
    - https://github.com/jordan-dalby/ByteStash

services:
  bytestash:
    image: ghcr.io/jordan-dalby/bytestash:latest
    container_name: bytestash
    hostname: bytestash
    restart: unless-stopped
    volumes:
      - /path/to/snippets:/data/snippets
    networks:
      - bytestash
    ports:
      - 5000:5000
    env_file: .env
    labels:
      com.getarcaneapp.arcane.icon: https://cdn.jsdelivr.net/gh/selfhst/icons@main/svg/bytestash.svg

networks:
  bytestash:
    external: false

README

Activate OIDC

To activate OIDC follow the setup instructions and set the according variables in .env file.

Generate secret token

Add a JWT_SECRET. You can create a random token by running:

openssl rand -base64 32

in your command line. You can alternatively set a JWT_SECRET_FILE.

Add admin users

When accessing the app for the first time you will have to create a user. You can add the username (or multiple usernames separated by comma) in ADMIN_USERNAMES to allow this user(s) to access the Admin panel.

Env variables

To learn more about the configurable environment variables you can visit ByteStash's FAQ site.