services:
  nginx:
    image: nginx:latest
    container_name: nginx-bookapi
    ports:
      - "80:80"
    volumes:
      - ./bookapi.conf:/etc/nginx/conf.d/bookapi.conf:ro
    extra_hosts:
      - "host.docker.internal:host-gateway"
    restart: unless-stopped
