version: "3.9"

services:
  web:
    image: nginx:alpine
    container_name: test-nginx
    ports:
      - "8080:80"
    command: ["/bin/sh", "-c", "echo '<h1>Hello from Vish! This is hard + Gitea 🚀</h1>' > /usr/share/nginx/html/index.html && nginx -g 'daemon off;'"]
    restart: unless-stopped
