Files
Teste/docker-compose.yml
2026-03-09 19:15:28 +00:00

9 lines
355 B
YAML

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