From c6552a570e6d75e4a71788cf63b3c52f8785c311 Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Fri, 18 Jul 2025 23:48:10 +0000 Subject: [PATCH] Add nginx Docker Compose configuration with port 6767 --- nginx-compose.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 nginx-compose.yaml diff --git a/nginx-compose.yaml b/nginx-compose.yaml new file mode 100644 index 0000000..900002a --- /dev/null +++ b/nginx-compose.yaml @@ -0,0 +1,25 @@ +version: '3.8' + +services: + nginx: + image: nginx:alpine + container_name: nginx-webserver + ports: + - "6767:80" + volumes: + - ./html:/usr/share/nginx/html:ro + - ./nginx.conf:/etc/nginx/nginx.conf:ro + restart: unless-stopped + environment: + - NGINX_HOST=localhost + - NGINX_PORT=80 + networks: + - nginx-network + +networks: + nginx-network: + driver: bridge + +volumes: + nginx-data: + driver: local