Added example nginx proxy working

This commit is contained in:
2026-02-12 11:57:57 +00:00
parent b91f952f80
commit 8567adf1d1
3 changed files with 9 additions and 28 deletions

View File

@@ -1,9 +1,7 @@
services:
web:
image: nginx:alpine
volumes:
- ./web:/usr/share/nginx/html:ro
proxy:
image: nginx:alpine
ports:
@@ -11,4 +9,4 @@ services:
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- web
- web