Self-Hosting
LifyGo can be deployed on any Linux server capable of running Docker. A small VPS (such as a DigitalOcean Droplet or Hetzner Cloud instance) is sufficient for most deployments.Prerequisites
- Ubuntu 22.04 or newer
- Docker
- Docker Compose
- A domain name pointing to your server
- An SMTP account (Gmail, Zoho, or another provider)
1. Clone the Repository
2. Configure the Environment
.env file with your configuration.
At minimum:
3. Start Infrastructure
4. Run Database Migrations
5. Configure Nginx
A sample Nginx configuration is available in:- Proxies requests to the API
- Proxies requests to the dashboard
- Supports HTTPS with Let’s Encrypt
6. Access the Dashboard
Open your browser and visit:Maintenance
To keep your deployment healthy:- Regularly back up your PostgreSQL database.
- Keep your
ENCRYPTION_KEYsafe. Without it, encrypted SMTP passwords cannot be recovered. - Pull the latest repository changes and restart your Docker containers when updating LifyGo.