diff --git a/docker-compose.yml b/docker-compose.yml index 95515da..7fc5767 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,8 +4,7 @@ services: nginx: image: nginx:alpine container_name: website-nginx - ports: - - "8097:80" + network_mode: host volumes: - /opt/docker/Website:/usr/share/nginx/html:ro - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro diff --git a/nginx.conf b/nginx.conf index ed6fca3..ad9a6b2 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,5 +1,5 @@ server { - listen 80; + listen 8097; server_name localhost; root /usr/share/nginx/html;