Files
sub2apipay/docker-compose.app.yml
erio 149a08f1a3 docs: 完整中英双语 README + Docker Hub 发布 Compose 文件
- README.md:中文主文档(功能、环境变量、部署、集成说明)
- README.en.md:英文版本,内容与中文对应
- docker-compose.hub.yml:从 Docker Hub 拉取镜像,含自带 PostgreSQL
- docker-compose.app.yml:仅应用容器,适配外部数据库
- 镜像已发布至 touwaeriol/sub2apipay:latest
2026-03-01 20:50:42 +08:00

15 lines
474 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
#
# 启动docker compose -f docker-compose.app.yml up -d
# 更新docker compose -f docker-compose.app.yml pull && docker compose -f docker-compose.app.yml up -d
services:
app:
image: touwaeriol/sub2apipay:latest
ports:
- '${APP_PORT:-3001}:3000'
env_file: .env
restart: unless-stopped