Add Paymenter blueprint and metadata (#371)

* Add Paymenter blueprint and metadata

Introduces a new blueprint for Paymenter, including Docker Compose configuration, template variables, and an icon. Updates meta.json to register Paymenter with relevant metadata, description, links, and tags for billing and payment management.

* Add debug and proxy settings to Paymenter config

Set APP_DEBUG to false and TRUSTED_PROXIES to '*' in docker-compose.yml for improved security and proxy support. Also, specify path as '/' in template.toml to clarify application root.
This commit is contained in:
devdamo
2025-09-16 05:51:47 +01:00
committed by GitHub
parent edb972f14a
commit 954cefe0cb
4 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
services:
database:
image: mariadb:lts
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password
volumes:
- paymenter-database:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE:-paymenter}
- MYSQL_USER=${MYSQL_USER:-paymenter}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
cache:
image: redis:alpine
restart: unless-stopped
volumes:
- paymenter-redis:/data
paymenter:
image: ghcr.io/paymenter/paymenter:latest
restart: unless-stopped
ports:
- 80
depends_on:
- database
- cache
volumes:
- paymenter-storage:/app/var
- paymenter-logs:/app/storage/logs
- paymenter-public:/app/storage/app/public
environment:
- APP_ENV=${APP_ENV:-production}
- APP_DEBUG=false
- APP_KEY=${APP_KEY}
- APP_URL=${APP_URL}
- DB_CONNECTION=mysql
- DB_HOST=database
- DB_PORT=3306
- DB_DATABASE=${MYSQL_DATABASE:-paymenter}
- DB_USERNAME=${MYSQL_USER:-paymenter}
- DB_PASSWORD=${MYSQL_PASSWORD}
- CACHE_STORE=redis
- REDIS_HOST=cache
- REDIS_PORT=6379
- TRUSTED_PROXIES=*
volumes:
paymenter-database: {}
paymenter-storage: {}
paymenter-logs: {}
paymenter-public: {}
paymenter-redis: {}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -0,0 +1,22 @@
[variables]
main_domain = "${domain}"
app_key = "${base64:32}"
mysql_password = "${password:16}"
mysql_root_password = "${password:20}"
[config]
[[config.domains]]
serviceName = "paymenter"
port = 80
host = "${main_domain}"
path = "/"
[config.env]
APP_URL = "https://${main_domain}"
APP_KEY = "base64:${app_key}"
MYSQL_PASSWORD = "${mysql_password}"
MYSQL_ROOT_PASSWORD = "${mysql_root_password}"
MYSQL_DATABASE = "paymenter"
MYSQL_USER = "paymenter"
[[config.mounts]]

View File

@@ -3709,6 +3709,27 @@
"oauth2"
]
},
{
"id": "paymenter",
"name": "Paymenter",
"version": "latest",
"description": "Paymenter is a modern billing and payment management system for hosting providers, with automation, invoicing, and client management features.",
"logo": "paymenter.png",
"links": {
"github": "https://github.com/Paymenter/Paymenter",
"website": "https://paymenter.org/",
"docs": "https://paymenter.org/docs/"
},
"tags": [
"billing",
"payment",
"hosting",
"invoicing",
"business",
"automation",
"client-management"
]
},
{
"id": "penpot",
"name": "Penpot",