Files
Podcast-Generator/docker-compose.yml
hex2077 99fad315d0 refactor(i18n): 将 useTranslation 重命名为 getTranslation 以更准确描述功能
fix(依赖): 添加缺失的依赖项到 useEffect 钩子中
style(env): 更新 .gitignore 和 .env 文件配置
docs(docker): 更新 docker-compose 和文档中的镜像命名
2025-08-25 20:45:28 +08:00

30 lines
540 B
YAML

version: '1.0.0'
services:
web:
build:
context: .
dockerfile: Dockerfile-Web
image: podcast-web
ports:
- "3200:3000"
volumes:
- /opt/audio/output:/app/server/output
- /opt/audio/sqlite.db:/app/web/sqlite.db
restart: always
depends_on:
- server
server:
build:
context: .
dockerfile: Dockerfile-Server
image: podcast-server
ports:
- "3100:8000"
volumes:
- /opt/audio/output:/app/server/output
restart: always
volumes:
audio-data: