SQLite (Default)
- No configuration required
- Easy to use and portable
- Built into the main image
- Perfect for development
PostgreSQL
- Production-ready database
- Better performance at scale
- Requires separate image
- Advanced configuration options
SQLite
By default, Pangolin uses SQLite for its ease of use and portability. Docker Image:fosrl/pangolin:<version>
No configuration is required to use SQLite with Pangolin.
PostgreSQL
You can optionally use PostgreSQL for production deployments. Docker Image:fosrl/pangolin:postgresql-<version>
Configuration
Add the following section to your Pangolin configuration file:config.yml
Replace the placeholders with your actual PostgreSQL connection details.
Docker Compose Example
This example sets up PostgreSQL with health checks to ensure the database is ready before Pangolin starts:docker-compose.yml
This example is not necessarily production-ready. Adjust the configuration according to your needs and security requirements.
Do not use
latest
tags in production. Use specific version tags for stability.