release / release (release) Canceled after 0s
- new EpayClient: V1 md5 signing, submit.php page pay, api.php order query - create/verify epay payment links with CNY exchange-rate conversion - signed async notify handler (/admin/payment/callback_epay) with amount check plus idempotent crediting, and a gateway query fallback - epay channel config form, channel row and payment_method enum extended - RechargeModal: send payment_method (was payment_channel, so every recharge fell through to Stripe and 500'd) and re-enable the channel picker - payment config encryption key moved to a local .env, never committed
68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
version: '3'
|
|
services:
|
|
xpack-mysql:
|
|
image: mysql:8.0.37
|
|
privileged: true
|
|
restart: always
|
|
container_name: xpack-mysql
|
|
hostname: xpack-mysql
|
|
command:
|
|
- "--character-set-server=utf8mb4"
|
|
- "--collation-server=utf8mb4_unicode_ci"
|
|
ports:
|
|
- "33306:3306"
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=mysql_ZTdhRB
|
|
- MYSQL_DATABASE=xpack
|
|
volumes:
|
|
- /vol3/1000/HD3/docker/xpack-mcp/mysql-data:/var/lib/mysql
|
|
networks:
|
|
- xpack
|
|
xpack-mcp-market:
|
|
image: xpackai/xpack-mcp-market:zhcn
|
|
container_name: xpack-mcp-market
|
|
privileged: true
|
|
restart: always
|
|
environment:
|
|
# AES-256-GCM key protecting payment channel config (epay merchant key, stripe secret).
|
|
# Lives here rather than in the image so the sample key shipped in .env.example
|
|
# can never decrypt this deployment's config.
|
|
- PAYMENT_CONFIG_SECRET_KEY=${PAYMENT_CONFIG_SECRET_KEY:?PAYMENT_CONFIG_SECRET_KEY not set - copy .env.example to .env}
|
|
- PAYMENT_CONFIG_KEY_ID=default
|
|
networks:
|
|
- xpack
|
|
ports:
|
|
- "8010:80"
|
|
depends_on:
|
|
- xpack-mysql
|
|
- xpack-redis
|
|
- xpack-rabbitmq
|
|
xpack-redis:
|
|
container_name: xpack-redis
|
|
image: redis:7.2.4
|
|
hostname: xpack-redis
|
|
privileged: true
|
|
restart: always
|
|
command:
|
|
- bash
|
|
- -c
|
|
- "redis-server --protected-mode yes --logfile redis.log --appendonly no --port 6379 --requirepass redis_6sJZDm"
|
|
networks:
|
|
- xpack
|
|
xpack-rabbitmq:
|
|
container_name: xpack-rabbitmq
|
|
image: rabbitmq:4.1.2-alpine
|
|
privileged: true
|
|
restart: always
|
|
environment:
|
|
- RABBITMQ_DEFAULT_USER=rabbitmq
|
|
- RABBITMQ_DEFAULT_PASS=rabbitmq_Gs123dA
|
|
networks:
|
|
- xpack
|
|
networks:
|
|
xpack:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|
|
config:
|
|
- subnet: 172.101.0.0/24 |