Loading...
Paste a `docker run …` command and get an equivalent Docker Compose service — ports, volumes, env, network, and restart policy.
services:
web:
image: nginx:1.27
container_name: web
restart: unless-stopped
ports:
- "8080:80"
volumes:
- ./html:/usr/share/nginx/html
environment:
- TZ=UTC