feat: 添加 Docker 支持与项目文档
- 添加 Dockerfile, docker-compose.yml, .dockerignore, nginx 配置 - 添加后端 API 设计文档、平台架构需求文档、系统开发计划 - 添加 PostgreSQL schema 设计 - 更新 README.md 和 design-qa.md
This commit is contained in:
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
services:
|
||||
yg-ft-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: yg-ft-frontend:latest
|
||||
container_name: yg-ft-frontend
|
||||
ports:
|
||||
- "6801:80"
|
||||
environment:
|
||||
# Change this if the backend is deployed somewhere else.
|
||||
API_PROXY_PASS: "http://host.docker.internal:7861"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user