Files
sub2apipay/docker-compose.app.yml
erio a9ea9d4862 feat: 帮助图片点击放大(lightbox)
点击支付页右侧帮助区域的联系二维码图片,在屏幕正中以全屏遮罩放大展示;
点击背景或再次点击可关闭。
2026-03-02 03:39:49 +08:00

19 lines
714 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# docker-compose.app.yml
# 使用 Docker Hub 镜像部署(仅应用,外部数据库)
# 适合:已有 PostgreSQL 实例,将 DATABASE_URL 填入 .env
#
# 启动IMAGE_TAG=1.0.0 docker compose -f docker-compose.app.yml up -d
# 更新IMAGE_TAG=1.1.0 docker compose -f docker-compose.app.yml pull && docker compose -f docker-compose.app.yml up -d
# 不指定 IMAGE_TAG 时默认使用 latest
services:
app:
image: touwaeriol/sub2apipay:${IMAGE_TAG:-latest}
ports:
- '${APP_PORT:-3001}:3000'
env_file: .env
volumes:
# 宿主机 uploads 目录挂载到 Next.js public/uploads可通过 /uploads/* 访问
- ./uploads:/app/public/uploads:ro
restart: unless-stopped