mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-12 01:56:43 -05:00
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:
53
blueprints/paymenter/docker-compose.yml
Normal file
53
blueprints/paymenter/docker-compose.yml
Normal 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: {}
|
||||
BIN
blueprints/paymenter/paymenter.png
Normal file
BIN
blueprints/paymenter/paymenter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.6 KiB |
22
blueprints/paymenter/template.toml
Normal file
22
blueprints/paymenter/template.toml
Normal 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]]
|
||||
21
meta.json
21
meta.json
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user