Adicionar docker-compose.yml

This commit is contained in:
2026-03-09 19:15:28 +00:00
parent ebfa53913e
commit 0f1434e6d6

8
docker-compose.yml Normal file
View File

@@ -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