Skip to content

Công cụ định dạng & Mã

Trình tạo Docker Compose

Compose file from a list of services.

Runs in your browser

Ghi chú của biên tập viên

Understanding · One file. A whole local stack.

Chương phân tích chuyên sâu này hiện chỉ có sẵn bằng tiếng Anh. Công cụ chuyển đổi ở trên hoạt động bằng ngôn ngữ của bạn; bài viết giải thích dài chưa được dịch.

Các câu hỏi thường gặp

Quick answers.

Is my configuration data secure?

Yes. The generation happens entirely within your browser sessions; no service names, images, or environment variables are transmitted to our servers.

Which Docker version does it support?

The generator outputs files compatible with the latest Compose specification, which is supported by Docker Desktop and modern versions of the Docker engine.

Can I add custom environment variables?

Yes. Each service allows you to define custom key-value pairs for environment variables and port mappings required for your specific application.

How do I use the generated file?

Save the output as `docker-compose.yml` in your project root directory and run `docker compose up` from your terminal.

Mọi người cũng tìm kiếm

Công cụ liên quan

More in this room.

Xem tất cả trong Công cụ định dạng & Mã