Access
- Open ByteStash in your browser:
http://<SERVER_IP>:5000 - Register the first account.
- Use username
adminto create the administrator account. - Only the
adminusername will receive administrator privileges. - Using a different username will create a regular user.
- New account registration is disabled after the first account is created.
User Registration
Registration is disabled after the first setup.
To enable registration or modify account settings, edit:
/root/bytestash/.env
Update the required values, for example:
ALLOW_NEW_ACCOUNTS=true
Restart the service:
cd /root/bytestash
docker compose up -d
Important Files and Directories
- Install Path:
/root/bytestash - Compose File:
/root/bytestash/docker-compose.yml - Environment File:
/root/bytestash/.env - Snippets Storage:
/var/lib/docker/volumes/bytestash_snippets
Service Management
View running containers:
docker compose -f /root/bytestash/docker-compose.yml ps
Restart ByteStash:
docker compose -f /root/bytestash/docker-compose.yml restart
View logs:
cd /root/bytestash && docker compose logs -f
Stop ByteStash:
docker compose -f /root/bytestash/docker-compose.yml stop
Start ByteStash:
docker compose -f /root/bytestash/docker-compose.yml start
Recreate ByteStash:
docker compose -f /root/bytestash/docker-compose.yml up -d