返回 Skill 列表
extension
分类: 开发与工程无需 API Key

docker-compose-setup

为Todo应用程序服务设置docker-compose。用于本地开发环境。

person作者: jakexiaohubgithub

DockerComposeSetup Instructions

Input: Services (frontend, backend, db). Output: YAML config. Steps:

  1. Define services with builds and ports. Example YAML: version: '3' services: frontend: build: ./frontend ports: ["3000:3000"] backend: build: ./backend ports: ["8000:8000"] environment:
    • DATABASE_URL=postgresql://user:pass@neon-host/db