refactor: 重构页面元数据以支持SEO规范链接 feat(web): 实现用户积分系统和登录验证 docs: 添加Docker使用指南和更新README build: 添加Docker相关配置文件和脚本 chore: 更新依赖项并添加初始化SQL文件
33 lines
633 B
YAML
33 lines
633 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
web:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-Web
|
|
image: simple-podcast-web
|
|
ports:
|
|
- "3200:3000"
|
|
volumes:
|
|
- audio-data:/app/server/output
|
|
restart: always
|
|
depends_on:
|
|
- server
|
|
environment:
|
|
- NEXT_PUBLIC_API_URL=http://server:8000
|
|
|
|
server:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-Server
|
|
image: simple-podcast-server
|
|
ports:
|
|
- "3100:8000"
|
|
volumes:
|
|
- audio-data:/app/server/output
|
|
restart: always
|
|
environment:
|
|
- PODCAST_API_SECRET_KEY=your-production-api-secret-key
|
|
|
|
volumes:
|
|
audio-data: |