Files
yunhaifinance/docker-compose.yml
yi ffc7eef984 docs: 生成项目文档并优化项目结构
- 生成完整的 README.md 项目文档
- 统一图片路径为相对引用
- 完善 .gitignore 配置,添加常见忽略项
- 清理未使用的临时文件和图片资源
- 删除废弃的脚本文件
2026-06-18 11:35:56 +08:00

23 lines
550 B
YAML

version: '3.8'
services:
postgres:
image: postgres:15-alpine
container_name: yunhaifinance-postgres
environment:
POSTGRES_USER: ${DB_USER:-postgres}
POSTGRES_PASSWORD: ${DB_PASSWORD:-changeme}
POSTGRES_DB: ${DB_NAME:-company_finance}
ports:
- "10052:5432"
volumes:
- yunhaifinance-postgres-data:/var/lib/postgresql/data
- ./backend/migrations:/docker-entrypoint-initdb.d
networks:
- yunhaifinance-network
volumes:
yunhaifinance-postgres-data:
networks:
yunhaifinance-network: