trailbase Docker & Self-Hosted Deployment

GitHub

An open, sub-millisecond, single-executable Firebase alternative with type-safe APIs, built-in WebAssembly runtime, realtime subscriptions, auth, and admin...

5,381 stars Rust Rust 1 file ยท ~4,414 tokens #authentication#database#rest-api#rust
RAW Compose
1. Pull Image (DOCKERHUB) docker pull trailbaseio/trailbase
2. Docker Run (1-Click Launch) docker run -d --name trailbase -p 3036:3036 --restart always trailbaseio/trailbase:latest
3. Podman Run podman run -d --name trailbase -p 3036:3036 --restart always trailbaseio/trailbase:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/trailbaseio/trailbase:latest
5. ORAS Pull (OCI Artifact) oras pull trailbaseio/trailbase:latest
6. Compose Deployment docker compose up -d
docs/docker-compose.yml
Download .yml
services:
  trailbase-docs:
    container_name: trailbase-docs
    build: .
    ports:
      - "127.0.0.1:3036:80/tcp"
    restart: unless-stopped

    # By default containers get 1024 cpu shares. Setting it to 512 means half
    # the resources compared to a default container. And 2048 double,
    # respectively.
    cpu_shares: 1024
    mem_limit: 128m
    oom_score_adj: -200