Skip to content

Self-hosting Docker Compose with one-command setup #7

Description

@theonlyhennygod

v0.0.6 — Self-Host Docker

Problem

No turnkey deployment exists. Users need a one-command way to run their own ZeroFans node.

Acceptance Criteria

  • docker-compose.self-host.yml with PostgreSQL + API + MinIO + sync client
  • Dockerfile.self-host optimized for self-hosting
  • Setup wizard: zerofans init generates .env, registers node with central relay
  • docker compose up starts everything and begins syncing
  • Admin dashboard at /admin shows sync status, peer count, event stats
  • Health check validates all services are running
  • Documentation in SELF_HOSTING.md

Files to create/modify

  • docker-compose.self-host.yml (NEW)
  • Dockerfile.self-host (NEW)
  • scripts/zerofans-init.sh (NEW — setup wizard)
  • SELF_HOSTING.md (NEW or update existing)

Test

docker compose -f docker-compose.self-host.yml up
curl http://localhost:8787/rpc/health

Version bump

All package.json files: 0.0.5 to 0.0.6

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions