Skip to main content
ConvertLab
Tools

Developer & Data

Docker Compose Generator

Build docker-compose.yml visually — add services, ports, volumes and env vars.

  • Runs in your browser

Services

docker-compose.yml

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?

Stored locally in your browser only — not sent anywhere.

Tools you may need