Docker Compose Generator
Build docker-compose.yml visually — add services, ports, volumes and env vars.
- Runs in your browser
version: '3.8'
services:
web:
image: nginx:latest
ports:
- "80:80"
volumes:
- ./html:/usr/share/nginx/html:ro
restart: unless-stopped
db:
image: postgres:16
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=secret
- POSTGRES_DB=myapp
restart: unless-stopped
volumes:
pgdata:Was this tool useful?