services: reverse: image: nginx:stable-alpine container_name: reverse hostname: reverse restart: always extra_hosts: - "host.docker.internal=host-gateway" volumes: - "./nginx.conf:/etc/nginx/nginx.conf:ro" - "./locations:/etc/nginx/locations:ro" - "./configuration:/etc/nginx/configuration:ro" - "./sites-enabled:/etc/nginx/sites-enabled:ro" - "./error-pages:/etc/nginx/error-pages:ro" - "./resources:/var/www/html/resources:ro" - "./ssl:/etc/nginx/ssl:ro" - "./logs:/var/log/nginx/" networks: services: {} ports: - 80:80 - 443:443 networks: services: external: true driver: bridge name: services