services: nginx: image: nginx:alpine container_name: nginx-webserver ports: - "6767:80" volumes: - ./html:/usr/share/nginx/html:ro restart: unless-stopped environment: - NGINX_HOST=localhost - NGINX_PORT=80 networks: - nginx-network networks: nginx-network: driver: bridge volumes: nginx-data: driver: local