Fivemanage Lite is an open-source, lightweight management service designed for gaming communities. It provides essential features for file storage, structured logging, and community organization.
Run the latest version of Fivemanage Lite using Docker:
docker run -p 8080:8080 \
-e DSN=postgres://user:pass@host:5432/db \
-e ADMIN_PASSWORD=your_secure_password \
-e API_TOKEN_HMAC_SECRET=your_32_byte_secret \
ghcr.io/fivemanage/lite:0.1.0-beta.18- Multi-tenant organization support.
- File storage with S3-compatible providers (AWS S3, Cloudflare R2, MinIO).
- High-performance structured logging powered by ClickHouse.
- Built-in authentication and session management.
- OpenTelemetry integration for tracing.
- Modern React-based administrative dashboard.
For production environments, using Docker Compose is the most straightforward method to manage the application along with its dependencies (PostgreSQL and ClickHouse). You can find a template in the deployments/docker-compose.yml file.
Fivemanage Lite is stateless and can be easily deployed on Kubernetes. It is recommended to use a standard Deployment for the application and managed services for the database and storage. Ensure you configure the required environment variables via Secrets or ConfigMaps.
The application is configured via environment variables.
| Variable | Description | Default |
|---|---|---|
PORT |
Port the server listens on | 8080 |
DSN |
PostgreSQL connection string | - |
ADMIN_PASSWORD |
Initial password for the 'admin' user | password |
API_TOKEN_HMAC_SECRET |
32-byte secret for signing API tokens | - |
S3_PROVIDER |
S3 provider (s3, r2, or minio) |
minio |
AWS_ACCESS_KEY_ID |
S3 access key ID | - |
AWS_SECRET_ACCESS_KEY |
S3 secret access key | - |
AWS_ENDPOINT |
S3 endpoint URL | - |
AWS_BUCKET |
S3 bucket name | - |
AWS_REGION |
S3 region | - |
CLICKHOUSE_HOST |
ClickHouse host address | localhost:19000 |
CLICKHOUSE_USERNAME |
ClickHouse username | default |
CLICKHOUSE_PASSWORD |
ClickHouse password | password |
CLICKHOUSE_DATABASE |
ClickHouse database name | default |
ENV |
Environment mode (production or dev) |
dev |
Once the application is running, access the dashboard at http://localhost:8080.
- Username:
admin - Password: The value of your
ADMIN_PASSWORDenvironment variable.
Follow these instructions if you want to contribute to the project or build from source.
- Go: 1.24 or later
- Node.js: 22.x or later
- pnpm: 9.x or later
- Air: For backend hot-reloading
- Docker: For running local infrastructure
-
Clone the repository:
git clone https://github.com/fivemanage/fivemanage-lite.git cd fivemanage-lite -
Install Frontend Dependencies:
cd web pnpm install cd ..
-
Download Backend Dependencies:
go mod download
-
Start Development Infrastructure:
docker compose -f deployments/docker-compose.yml up -d
Run the backend and frontend in separate terminals.
-
Backend:
air
-
Frontend:
cd web pnpm dev
- Branching: Use descriptive branch names (
feature/*,fix/*). - Formatting: Use
go fmtandpnpm lint. - Commits: Provide clear, professional messages.
- Pull Requests: Provide a detailed description of changes.
cmd/lite: Main entry point and CLI configuration.internal/: Application logic, API handlers, and services.pkg/: Reusable packages for storage, logging, and caching.web/: Frontend React application.deployments/: Docker Compose and deployment configurations.migrate/: PostgreSQL schema migrations.build/: Dockerfile and build scripts.
Fivemanage Lite is released under the MIT License.