免费 · 开发
Docker Compose 生成器.
为多个服务生成 compose.yaml:镜像、端口、环境变量、数据卷和依赖关系,可从零开始或使用预设模板。
Loading the calculator…
使用方法: Docker Compose 生成器
输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。
限制与支持格式
输入内容在您的设备上处理。
英语技术说明
No health checks, networks or build sections; add them for production. Everything is calculated in your browser; nothing you type is uploaded.
Port mappings are checked, dependencies must exist, named volumes are declared automatically and values are quoted so that "8080:80" is never misread. Secrets written in clear trigger a warning.
The Node + Postgres + Redis preset gives three services, one named volume for the database and passwords taken from ${DB_PASSWORD}.