This guide will help you set up and deploy Changes.Page on your own infrastructure.
You have two options for setting up the database:
Follow the official Supabase self-hosting guide using Docker: https://supabase.com/docs/guides/self-hosting/docker
Create a new project at supabase.com and use the provided connection details.
The repository includes Docker Compose files for easy deployment of the applications.
- Ensure you have Docker and Docker Compose installed
- Set up your environment variables in the respective
.envfiles (see.env.examplefiles inapps/webandapps/page) - Run the applications using Docker Compose:
docker-compose up -dPlease note the following limitations when self-hosting:
- Billing: Currently only supported through Stripe integration
- Custom Domains: Only supported when deployed on Vercel
- AI Features: All AI functionality is channeled through OpenRouter
Make sure to configure the following in your environment files:
- Database connection details (Supabase)
- Authentication keys
- Stripe keys (if using billing features)
- Any other third-party service credentials
For detailed environment variable setup, refer to the .env.example files in the respective app directories.