Skip to content

Conversation

@daddyparodz
Copy link

🚀 Feature: Add Self-Hosting Server and Docker Setup

This pull request adds full self-hosting support for itty-bitty, enabling users to run the service locally or on their own servers using Docker.

🧩 What’s Included

  • New Express-based server (server/index.js) to serve the app locally
  • Dockerfile for building production containers
  • docker-compose.yml for easy deployment and automatic restart
  • Updated README.md with detailed self-hosting and Docker usage instructions
  • Added .dockerignore for cleaner builds
  • Updated package.json dependencies for production use

⚙️ Environment Variables

  • PORT – custom server port (default: 8080)
  • UA_ARRAY – comma-separated list of blocked User-Agents
  • REQUEST_LOG – set to silent to disable HTTP request logging

🔗 Related Issue

Closes #78 – Option to Self-Host?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to Self-Host?

1 participant