From 0f1434e6d6dfb8c67f015210d229cecc37d49c62 Mon Sep 17 00:00:00 2001 From: Gladyson Date: Mon, 9 Mar 2026 19:15:28 +0000 Subject: [PATCH] Adicionar docker-compose.yml --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5032cb8 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +services: + nginx: + image: nginx:alpine # Use the lightweight Alpine image + ports: + - "8080:80" # Map port 8080 on the host to port 80 in the container + volumes: + - ./src:/usr/share/nginx/html:ro # Mount the local src directory to Nginx's default web root + restart: unless-stopped # Ensure the container restarts automatically