summaryrefslogtreecommitdiff
path: root/compose.yml
diff options
context:
space:
mode:
authorCaptainJack2491 <jayrupnakawala@gmail.com>2025-12-27 17:04:20 +0000
committerCaptainJack2491 <jayrupnakawala@gmail.com>2025-12-27 17:04:20 +0000
commita88167389ca14e2ccf37be9a6dac6c5d7e7ae7e2 (patch)
treeeb56a87009177e2ca5c789501ccafa4224a6d56e /compose.yml
parent54e111ea16e0d0f3cf51b7b07f2dc64884b9152b (diff)
updated nginx config to work with the updated deployment
Diffstat (limited to 'compose.yml')
-rw-r--r--compose.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/compose.yml b/compose.yml
index b884097..60536f4 100644
--- a/compose.yml
+++ b/compose.yml
@@ -6,10 +6,12 @@ services:
ports:
- "8080:80"
volumes:
- - ./:/usr/share/nginx/html:ro
+ # Mount ONLY the public folder to the Nginx root
+ - ./public:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
networks:
- nginx_default
+
networks:
nginx_default:
external: true