.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
CODEHIVE_HOST
Server settings
CODEHIVE_PORT
CODEHIVE_DEBUG
CODEHIVE_DATABASE_URL
secret
For PostgreSQL (requires Docker or external server):
POSTGRES_USER
PostgreSQL connection settings (used by docker-compose)
POSTGRES_PASSWORD
secret
POSTGRES_DB
CODEHIVE_REDIS_URL
secret
Redis (optional -- empty = local in-process event bus) CODEHIVE_REDIS_URL= For Redis (requires Docker or external server):
brew install flyctl && fly launch --from https://github.com/alexeygrigorev/codehive
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/alexeygrigorev/codehive
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/alexeygrigorev/codehive