feat: 添加Docker支持并优化SEO和用户认证
refactor: 重构页面元数据以支持SEO规范链接 feat(web): 实现用户积分系统和登录验证 docs: 添加Docker使用指南和更新README build: 添加Docker相关配置文件和脚本 chore: 更新依赖项并添加初始化SQL文件
This commit is contained in:
33
docker-compose.yml
Normal file
33
docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user