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