Add nginx Docker Compose configuration with port 6767

This commit is contained in:
Adolfo Delorenzo 2025-07-18 23:48:10 +00:00
parent 8129b02730
commit c6552a570e

25
nginx-compose.yaml Normal file
View File

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