Files
Podcast-Generator/docker-compose.yml
hex2077 f64cd498cf feat: 添加日语支持并优化国际化功能
refactor: 重构中间件和路由处理逻辑
fix: 修复音频示例API的错误处理
docs: 更新README和DOCKER_USAGE文档
style: 优化语言切换器样式
chore: 更新.gitignore添加生产环境配置文件
2025-08-25 19:17:16 +08:00

34 lines
695 B
YAML

version: '3.8'
services:
web:
build:
context: .
dockerfile: Dockerfile-Web
image: simple-podcast-web
ports:
- "3200:3000"
volumes:
- audio-data/output:/app/server/output
- audio-data/sqlite.db:/app/web/sqlite.db
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/output:/app/server/output
restart: always
environment:
- PODCAST_API_SECRET_KEY=your-production-api-secret-key
volumes:
audio-data: