services: bytestash: image: "ghcr.io/jordan-dalby/bytestash:latest" container_name: bytestash-${IP}-${PORT} volumes: - ${DATA_DIR}:/data/snippets ports: - ${IP}:${PORT}:5000 environment: - BASE_PATH=${BASEPATH} # if auth username or password are left blank then authorisation is disabled # the username used for logging in - AUTH_USERNAME=${USER} # the password used for logging in - AUTH_PASSWORD=${PASS} # the jwt secret used by the server, make sure to generate your own secret token to replace this one - JWT_SECRET=${JWT_KEY} # how long the token lasts, examples: "2 days", "10h", "7d", "1m", "60s" - TOKEN_EXPIRY=${TOKEN_EXP} restart: unless-stopped