Files
templates/blueprints/paymenter/docker-compose.yml
devdamo 954cefe0cb 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.
2025-09-15 22:51:47 -06:00

53 lines
1.3 KiB
YAML

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: {}