fix(依赖): 添加缺失的依赖项到 useEffect 钩子中 style(env): 更新 .gitignore 和 .env 文件配置 docs(docker): 更新 docker-compose 和文档中的镜像命名
30 lines
540 B
YAML
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: |