Try describing what you need:

Keygen logo

Keygen

★ 1.6k
Apache License 2.0Open Core — Some Features Paid8 Containers — 8 containers — heavy hosting footprintSourceNeeds Postgres2+ active committers (12mo)

About

Keygen is a software licensing and distribution platform aimed at developers who need to validate licenses, manage entitlements, and activate devices for desktop apps, server applications, and...

Community Ratings

No ratings yet

Features

  • license key validation
  • entitlements
  • device activation
  • request logs
  • event logs
  • environments
  • permissions
  • import/export
  • OCI/Docker registry support
  • SSO/SAML

Details

Last Updated
Nov 24, 2026
Created
Apr 10, 2016
Install Methods
source
Requirements
RubyBundlerRailsSidekiq
Authentication
saml
API
REST
Backup & Export
import/export
Runtime / Stack
Ruby
Privacy & Independence
Cloud: OptionalOffline Capable
User Model
Multi-User
Deployment

Deployment: Docker Compose ✓8 Containers — heavy hosting footprintRuns as 8 containers

Run Keygen yourself

Pick how much you want to manage.

1 more way to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run Keygen with Docker Compose

Compose file from the Keygen project repository.

8 services · database: postgres · infra: postgres, redis, caddy · 1 unclassified (api)

no resource limits declared

needs persistent storage (7 volumes)

compose.yaml · @ 78cf3fd · scanned Nov 3, 2026

services:
  setup:
    profiles: [ "setup" ]
    image: keygen/api:latest
    environment:
      DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
      DISABLE_DATABASE_ENVIRONMENT_CHECK: 1
    env_file:
      - .env
    command: >
      sh -c "
        until pg_isready -h postgres -U ${POSTGRES_USER}; do
          echo 'Waiting for PostgreSQL...'
          sleep 1
        done
        bundle exec rails keygen:setup
      "
    depends_on: [ postgres ]
    tty: true
    stdin_open: true

  console:
    profiles: [ "console" ]
    image: keygen/api:latest
    environment:
      DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
    env_file:
      - .env
    command: bundle exec rails console
    depends_on: [ postgres ]
    tty: true
    stdin_open: true

  migrate:
    profiles: [ "migrate" ]
    image: keygen/api:latest
    environment:
      DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
    env_file:
      - .env
    command: bundle exec rails db:migrate
    depends_on: [ postgres ]

  postgres:
    image: postgres:17.5
    ports:
      - "5432:5432"
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    volumes:
      - postgres:/var/lib/postgresql/data

  redis:
    image: redis
    ports:
      - "6379:6379"
    volumes:
      - redis:/data

  web:
    image: keygen/api:latest
    ports:
      - "3000:3000"
    networks:
      - default
      - web_network
    command: "web"
    env_file:
      - .env
    environment:
      DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
    volumes:
      - keygen:/etc/keygen
    depends_on:
      - postgres
      - redis

  worker:
    image: keygen/api:latest
    command: "worker"
    env_file:
      - .env
    environment:
      DATABASE_URL: "postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}"
    volumes:
      - keygen:/etc/keygen
    depends_on:
      - postgres
      - redis

  caddy:
    image: caddy:latest
    restart: unless-stopped
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - ./Caddyfile:/etc/caddy/Caddyfile
      - caddy_data:/data
      - caddy_config:/config
    env_file:
      - .env
    environment:
      CADDY_HOSTS: "${CADDY_HOSTS:-$KEYGEN_HOST}"
    command: ["caddy", "run", "--config", "/etc/caddy/Caddyfile"]
    depends_on:
      - web
    networks:
      - default
      - web_network

networks:
  web_network:
    name: web_network

volumes:
  keygen:
  postgres:
  redis:
  caddy_data:
  caddy_config:

This file may be out of date. Check the Keygen documentation for current setup steps.

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Mar 25, 2026

Related Software

Cloudron logo

Cloudron

Open-core software allowing you to effortlessly self-host web apps on your server.
Self Hosting SolutionsPlatform as a ServiceAutomation Tools+2
Open Core
Details
Syncloud logo

Syncloud

435
Syncloud is a self-hosting platform for popular apps, available as device images or pre-built hardware.
Self Hosting SolutionsPlatform as a ServiceAutomation Tools+1
Details
wagmios logo

wagmios

57
WAGMIOS is a self-hosted Docker management platform that lets scoped API keys and AI agents install apps, manage containers, and control a homelab through a REST API.
Self Hosting SolutionsAutomation ToolsAI Agents
2 Containers
Details
Self Host Blocks logo

Self Host Blocks

521
SelfHostBlocks is a NixOS-based self-hosting platform that provides standardized building blocks for services like storage, authentication, monitoring, and reverse proxying.
Self Hosting SolutionsCopyleft LicenseAutomation Tools+4
Details
Cloud Seeder logo

Cloud Seeder

200
A one-click server appliance wizard for self-hosting containerized applications.
Self Hosting SolutionsAutomation ToolsPlatform as a Service
Source AvailableCloud Required
Details
openship logo

openship

15.4k
Openship is an open-source, self-hostable deployment platform with built-in CI/CD that builds, deploys, routes, and TLS-terminates applications from a repository.
Platform as a ServiceAutomation ToolsSelf Hosting Solutions
5 Containers
Details
LibreTime logo

LibreTime

941
LibreTime is a self-hosted platform for running an online or terrestrial radio station.
Audio StreamingCopyleft LicenseMedia Management+2
Details
once logo

once

2.0k
ONCE is a platform for installing and managing Docker-based web applications, with automatic updates, backups, and a TUI/CLI for self-hosting operations.
Self Hosting SolutionsAutomation ToolsPlatform as a Service
Details
StartOS logo

StartOS

2.0k
A monorepo for Start9 products, including StartOS, a self-hosted Linux distribution for running and managing personal server services.
Self Hosting SolutionsNetwork UtilitiesPermissive License
Details
Websoft9 logo

Websoft9

2.1k
Websoft9 is a web-based Linux/PaaS control panel for running and managing 200+ open source applications on a self-hosted server.
Self Hosting SolutionsPlatform as a ServiceAutomation Tools+3
Details
authentik logo

authentik

26.4k
authentik is an open-source identity provider for modern SSO that supports SAML, OAuth2/OIDC, LDAP, RADIUS, and related identity management use cases.
Authentication ServicesPermissive LicenseProxy Servers+1
3 ContainersOpen Core
Details
Termix logo

Termix

16.1k
Termix is an open-source, self-hosted server management platform for managing servers and infrastructure through a single interface.
Remote AccessSelf Hosting SolutionsWeb File Managers+4
Details