updated main website page docker compose

This commit is contained in:
Ksan 2025-06-14 11:13:23 +00:00
parent 74cfc8a80e
commit 3e6d8c03c5

View File

@ -1,10 +1,11 @@
services: services:
nginx: nginx:
image: nginx:latest # Use the latest official Nginx image image: nginx:latest # Use the latest official Nginx image
container_name: nginx_test_site container_name: ksan.dev_nginx
networks: networks:
- frontend - frontend
volumes:
- ${LOCAL_PATH}:/usr/share/nginx/html
labels: labels:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.nginx-http.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`) - traefik.http.routers.nginx-http.rule=Host(`${DOMAIN}`) || Host(`www.${DOMAIN}`)