1 Star 0 Fork 0

码农博士的博客/MoneyPrinter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 885 Bytes
一键复制 编辑 原始数据 按行查看 历史
Ricardo Simoes 提交于 2024-02-09 23:39 . refactor docker setup
version: "3"
services:
frontend:
build:
context: .
dockerfile: Dockerfile
container_name: "frontend"
ports:
- "8001:8001"
command: ["python3", "-m", "http.server", "8001", "--directory", "frontend"]
volumes:
- ./Frontend:/app/frontend
restart: always
backend:
build:
context: .
dockerfile: Dockerfile
container_name: "backend"
ports:
- "8080:8080"
command: ["python3", "backend/main.py"]
volumes:
- ./files:/temp
- ./Backend:/app/backend
- ./fonts:/app/fonts
environment:
- ASSEMBLY_AI_API_KEY=${ASSEMBLY_AI_API_KEY}
- TIKTOK_SESSION_ID=${TIKTOK_SESSION_ID}
- IMAGEMAGICK_BINARY=/usr/local/bin/magick
- PEXELS_API_KEY=${PEXELS_API_KEY}
- OPENAI_API_KEY=${OPENAI_API_KEY}
depends_on:
- frontend
restart: always
volumes:
files:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/1120855315/MoneyPrinter.git
git@gitee.com:1120855315/MoneyPrinter.git
1120855315
MoneyPrinter
MoneyPrinter
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385