Installation
Qpon can be deployed using Docker. It requires a PostgreSQL database to run.
The latest image is available on Docker Hub at labsatquicko/qpon:latest
Download the compose file
curl -LO https://github.com/org-quicko/qpon/raw/main/docker-compose.yml
Set the environment variables
curl -LO https://github.com/org-quicko/qpon/raw/main/.env.example
# create a .env file and set the environment variables
cp .env.example .env
Start the services
docker compose up -d
Visit http://localhost:3000/setup to set up the super admin user.
Environment Variables
| Variable | Description | Example |
|---|---|---|
| DB_USERNAME | Database username | qpon_user |
| DB_PASSWORD | Database password | strongpassword |
| DB_NAME | Database name | qpon_db |
| DB_HOST | Database host | db (use 'db' for Docker) |
| JWT_SECRET | JWT signing secret | any-random-string |
| SALT_ROUNDS | Bcrypt salt rounds for passwords | 10 |
These variables can be set in a .env file, in your shell, or directly in docker-compose.yml.