Creates Docker Compose configurations for multi-service setups
Create a docker-compose.yml for the project.
Project: {project_description}
Services: {services} (e.g.: Node.js API + PostgreSQL + Redis + Nginx)
Environment: {environment} (development / production)
Requirements:
1. Full docker-compose.yml with version 3.8+
2. Dockerfile for each custom service
3. Healthcheck for each service
4. Named volumes for persistent data
5. Network (bridge) for isolation
6. Environment variables via .env file
7. Restart policy
8. Resource limits (memory, CPU) for production
9. Example .env file with comments
10. Commands for start, stop, viewing logs
For production add: SSL via Certbot/Traefik, logging.
0 copies
Variables
Replace these variables with your own values before using: