diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..a525ec3 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +version: '3.8' + +services: + nginx-ai: + image: nginx:alpine + container_name: nginx-ai + restart: unless-stopped + ports: + - "80:80" + - "443:443" + volumes: + - ./nginx.conf:/etc/nginx/nginx.conf:ro + - ./conf.d:/etc/nginx/conf.d:ro + - /etc/nginx/certs:/etc/nginx/certs:ro + - /var/www/html:/var/www/html + extra_hosts: + - "host.docker.internal:host-gateway" + networks: + - nginx-network + +networks: + nginx-network: + driver: bridge