Pick services, set ports/volumes/environment, and export a ready docker-compose.yml. Includes smart service recommendations.
AI recommendation: consider adding redis, nginx.
version: '3.9'
services:
node:
image: node:20
ports:
- '3000:3000'
volumes:
- .:/app
command: npm run dev
working_dir: /app
postgres:
image: postgres:16
ports:
- '5432:5432'
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: app
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
postgres_data: null
Need more than a template?
From CI/CD and Kubernetes to cloud reliability, get hands-on delivery for your infrastructure goals.
DevOps Services →