
Deploy Ghostlight Basic
Ghostlight AI Basic companion
Ghostlight Basic
Qdrant
Just deployed
/qdrant/storage
Just deployed
/var/lib/postgresql/data
ghostlight-basic-template
Just deployed
Deploy and Host Ghostlight Basic on Railway
Ghostlight Basic is a self-hosted AI companion starter system for Discord, powered by OpenRouter, PostgreSQL, and Qdrant memory storage. It gives users a private companion dashboard, configurable personality settings, persistent memory, and Discord bot connectivity in a lightweight deployable package designed for personal companions, client builds, and custom hosted AI experiences.
About Hosting Ghostlight Basic
Hosting Ghostlight Basic on Railway gives each user their own private deployment with a dedicated app service, PostgreSQL database, and Qdrant vector memory store. During deployment, users provide their own Discord bot credentials, OpenRouter API key, timezone, and admin dashboard password. Railway handles the infrastructure, networking, service orchestration, database hosting, and environment variable setup. Once deployed, users can access their Ghostlight dashboard, connect their Discord bot, and begin configuring their companion without managing servers manually.
Common Use Cases
- Deploying a private AI companion connected to a personal Discord server
- Hosting a client-ready Ghostlight companion instance with its own memory and dashboard
- Creating a lightweight self-hosted AI companion starter build for testing, customization, or expansion
Dependencies for Ghostlight Basic Hosting
- A Discord bot/application with a bot token, client ID, and server/guild ID
- An OpenRouter API key for AI model access
- PostgreSQL database service, included in this Railway template
- Qdrant vector database service, included in this Railway template
- A custom admin password created during deployment for dashboard access
Deployment Dependencies
Users will need accounts or credentials from:
Implementation Details
This template deploys three Railway services:
Ghostlight Basic App
PostgreSQL
Qdrant
Customer-filled environment variables:
ADMIN_SECRET=
DISCORD_TOKEN=
DISCORD_GUILD_ID=
DISCORD_CLIENT_ID=
OPENROUTER_API_KEY=
CHAT_TIMEZONE=
Preconfigured internal variables:
NODE_ENV=production
LOG_LEVEL=info
DATABASE_URL=${{Postgres.DATABASE_URL}}
QDRANT_URL=http://${{Qdrant.RAILWAY_PRIVATE_DOMAIN}}:6333
MEMORY_USER_SCOPE=default
QDRANT_COLLECTION=ghostlight_memories
QDRANT_VECTOR_DIM=1536
Why Deploy Ghostlight Basic on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Ghostlight Basic on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
Qdrant
qdrant/qdrantghostlight-basic-template
ghcr.io/jcsnowfox/ghostlight-basic-template:latestADMIN_SECRET
Create your Ghostlight dashboard password. Save this somewhere safe.
DISCORD_TOKEN
Your Discord Bot Token=Discord Developer portal-> your bot->Bot-> Reset Token
DISCORD_GUILD_ID
This is your Server ID for where your bot lives
DISCORD_CLIENT_ID
Discord Developer portal-> your bot->Oath-> Client ID
OPENROUTER_API_KEY
Your Openrouter developer API key goes here

