Sign inSign up

mohitgauniyal/instbyte

By mohitgauniyal

Updated 2 months ago

Self-hosted real-time LAN sharing tool. Run with npx or Docker — no cloud, no accounts.

Image
Developer tools
0

10K+

mohitgauniyal/instbyte repository overview

Docker

The fastest way to run Instbyte with Docker:

docker compose up -d

Or with plain Docker:

docker run -d \
  -p 3000:3000 \
  -v $(pwd)/instbyte-data:/data \
  -e INSTBYTE_DATA=/data \
  -e INSTBYTE_UPLOADS=/data/uploads \
  --name instbyte \
  mohitgauniyal/instbyte

Data persists in ./instbyte-data on your host. The same folder used by npx instbyte — so switching between the two preserves all your data.

With a config file

Mount your config file into the container:

services:
  instbyte:
    image: mohitgauniyal/instbyte
    ports:
      - "3000:3000"
    volumes:
      - ./instbyte-data:/data
      - ./instbyte.config.json:/app/instbyte.config.json
    environment:
      - INSTBYTE_DATA=/data
      - INSTBYTE_UPLOADS=/data/uploads
    restart: unless-stopped

⚠️ Before starting the container, create the config file on your host first — otherwise Docker will create a directory in its place:

touch instbyte.config.json

If it was already created as a directory by a previous run:

rm -rf instbyte.config.json && touch instbyte.config.json
Changing the port

Edit the host port in docker-compose.yml:

ports:
  - "8080:3000"  # now runs on port 8080

Note: File uploads may not work correctly on Windows Docker Desktop due to network limitations. For Windows, use npx instbyte directly or deploy on a Linux server.

Tag summary

Content type

Image

Digest

sha256:02d5e7880

Size

91.7 MB

Last updated

2 months ago

docker pull mohitgauniyal/instbyte