feat(service): add Paymenter service (#5809)
This commit is contained in:
11
public/svgs/paymenter.svg
Normal file
11
public/svgs/paymenter.svg
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<svg width="350" height="350" viewBox="0 0 350 350" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<rect width="350" height="350" fill="#4667FF"/>
|
||||||
|
<g clip-path="url(#clip0_1_14)">
|
||||||
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M100 179V277H142.857V211.638H200C233.333 211.638 250 195 250 161.725V141.5L175 179V141.5L248.227 104.886C243.133 82.9621 227.057 72 200 72H100V179ZM100 179V141.5L175 104V141.5L100 179Z" fill="white"/>
|
||||||
|
</g>
|
||||||
|
<defs>
|
||||||
|
<clipPath id="clip0_1_14">
|
||||||
|
<rect width="150" height="205" fill="white" transform="translate(100 72)"/>
|
||||||
|
</clipPath>
|
||||||
|
</defs>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 573 B |
57
templates/compose/paymenter.yaml
Normal file
57
templates/compose/paymenter.yaml
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
# documentation: https://paymenter.org/docs/guides/docker
|
||||||
|
# slogan: Open-Source Billing, Built for Hosting
|
||||||
|
# tags: automation, billing, open source
|
||||||
|
# logo: svgs/paymenter.svg
|
||||||
|
# port: 80
|
||||||
|
|
||||||
|
services:
|
||||||
|
database:
|
||||||
|
image: mariadb:10.11
|
||||||
|
command: --default-authentication-plugin=mysql_native_password
|
||||||
|
volumes:
|
||||||
|
- "mysql:/var/lib/mysql"
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
["CMD-SHELL", "healthcheck.sh --connect --innodb_initialized || exit 1"]
|
||||||
|
start_period: 10s
|
||||||
|
interval: 10s
|
||||||
|
timeout: 1s
|
||||||
|
retries: 3
|
||||||
|
environment:
|
||||||
|
MYSQL_PASSWORD: ${SERVICE_PASSWORD_MYSQL}
|
||||||
|
MYSQL_ROOT_PASSWORD: ${SERVICE_PASSWORD_MYSQLROOT}
|
||||||
|
MYSQL_DATABASE: "paymenter"
|
||||||
|
MYSQL_USER: "paymenter"
|
||||||
|
cache:
|
||||||
|
image: redis:alpine
|
||||||
|
environment:
|
||||||
|
- 'REDIS_PASSWORD=${SERVICE_PASSWORD_64_REDIS}'
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "redis-cli ping || exit 1"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 1s
|
||||||
|
retries: 3
|
||||||
|
paymenter:
|
||||||
|
image: ghcr.io/paymenter/paymenter:latest
|
||||||
|
volumes:
|
||||||
|
- "app_logs:/app/storage/logs"
|
||||||
|
- "app_public:/app/storage/public"
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "curl -sf http://localhost:80 || exit 1"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 1s
|
||||||
|
retries: 3
|
||||||
|
environment:
|
||||||
|
SERVICE_FQDN_PAYMENTER: '${SERVICE_FQDN_PAYMENTER}'
|
||||||
|
DB_PASSWORD: ${SERVICE_PASSWORD_MYSQL}
|
||||||
|
APP_ENV: "production"
|
||||||
|
CACHE_STORE: "redis"
|
||||||
|
SESSION_DRIVER: "redis"
|
||||||
|
QUEUE_CONNECTION: "redis"
|
||||||
|
REDIS_HOST: "cache"
|
||||||
|
REDIS_USERNAME: default
|
||||||
|
REDIS_PASSWORD: '${SERVICE_PASSWORD_64_REDIS}'
|
||||||
|
DB_CONNECTION: "mariadb"
|
||||||
|
DB_HOST: "database"
|
||||||
|
DB_PORT: "3306"
|
||||||
|
APP_KEY: ${SERVICE_BASE64_KEY}
|
Reference in New Issue
Block a user