Self-host Paymenter with Levelrail
Open-source billing and client management for hosting providers, with invoices, subscriptions and provisioning extensions.
- AuthorPaymenter
- LicenceMIT
- Memory768 MiB
- Archarm64
- Services3
How to self-host Paymenter
-
Pull the images
3 images are pulled on your server.
Show images
mariadb:11.8ghcr.io/paymenter/paymenter:v1.4.5redis:7-alpine
-
Create the app
3 services start in a single Compose app, with 5 named volume mounts for your data, on port 80.
-
Fill in the secrets
6 secrets are generated and stored encrypted, 14 settings are preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Paymenter requirements
- Memory
- About 768 MiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 80
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- MIT, permissive license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Paymenter. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Paymenter docs page.
Deploy Paymenter your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Paymenter from the CLI
levelrail-cli templates install paymenter --name my-paymenter Deploy Paymenter with the API
curl -X POST -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
https://levelrail.example.com/api/v1/service-templates/paymenter/install \
-d '{
"name": "my-paymenter"
}' Paymenter configuration
Paymenter services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| mariadb | mariadb:11.8 | none | mariadb -> /var/lib/mysql |
| paymenter | ghcr.io/paymenter/paymenter:v1.4.5 | 80 | logs -> /app/storage/logsextensions -> /app/extensionsthemes -> /app/themesstorage -> /app/storage/app |
| redis | redis:7-alpine | none | none |
Paymenter environment variables
| Variable | Service | Value |
|---|---|---|
| MYSQL_DATABASE | mariadb | Preset by the template |
| MYSQL_PASSWORD | mariadb | Generated at deploy |
| MYSQL_ROOT_PASSWORD | mariadb | Generated at deploy |
| MYSQL_USER | mariadb | Preset by the template |
| APP_ENV | paymenter | Preset by the template |
| APP_KEY | paymenter | Generated at deploy |
| APP_URL | paymenter | Preset by the template |
| CACHE_STORE | paymenter | Preset by the template |
Show all 20 variables
- DB_CONNECTIONpaymenterPreset by the template
- DB_DATABASEpaymenterPreset by the template
- DB_HOSTpaymenterPreset by the template
- DB_PASSWORDpaymenterGenerated at deploy
- DB_PORTpaymenterPreset by the template
- DB_USERNAMEpaymenterPreset by the template
- QUEUE_CONNECTIONpaymenterPreset by the template
- REDIS_HOSTpaymenterPreset by the template
- REDIS_PASSWORDpaymenterGenerated at deploy
- REDIS_USERNAMEpaymenterPreset by the template
- SESSION_DRIVERpaymenterPreset by the template
- REDIS_PASSWORDredisGenerated at deploy
Ports and volumes
- Ports
- 80
- Volumes
- 5 named mounts: mariadb -> /var/lib/mysql, logs -> /app/storage/logs, extensions -> /app/extensions, themes -> /app/themes, storage -> /app/storage/app
Paymenter FAQ
How much memory does Paymenter need?
The catalog lists about 768 MiB of memory for Paymenter across its 3 services.
Does Paymenter run on arm64?
For Paymenter, an arm64 image is published; amd64 is image published.
What licence is Paymenter under?
Paymenter is licensed under MIT, which is permissive, with few conditions on reuse.
Does Paymenter need configuration before it starts?
No. The template fills in its own defaults and generates secrets at deploy time.
Which database does Paymenter bundle?
The template includes MySQL and Redis, running as its own service.
Which ports does Paymenter use?
Paymenter listens on port 80 inside the stack.
Where does Paymenter keep its data?
In named volumes: mariadb mounted at /var/lib/mysql, logs mounted at /app/storage/logs, extensions mounted at /app/extensions and themes mounted at /app/themes.
Can I deploy Paymenter on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id paymenter for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image mariadb:11.8, ghcr.io/paymenter/paymenter:v1.4.5, redis:7-alpine is what you deploy there.