UI delivery, stage D: app-ui image on nginx-unprivileged (user nginx, port 8080)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
71ea4c5945
commit
3347fffe8e
4 files changed
+15
-12
No files matched your search
+3
-3
@@ -15,7 +15,7 @@ services:
|
||||
container_name: ovp-ui
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${OVPMON_HTTP_PORT:-80}:80"
|
||||
- "${OVPMON_HTTP_PORT:-80}:8080"
|
||||
depends_on:
|
||||
- app-api
|
||||
- app-profiler
|
||||
@@ -29,8 +29,8 @@ services:
|
||||
# Extra connect-src origins of the CSP (API on another host), separated by spaces; empty = same origin only
|
||||
OVP_CSP_CONNECT_EXTRA: ${OVPMON_CSP_CONNECT_EXTRA:-}
|
||||
healthcheck:
|
||||
# busybox wget exists in nginx:alpine
|
||||
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1/"]
|
||||
# busybox wget exists in the nginx alpine image; nginx listens on 8080 inside (unprivileged, OVP_UI_PORT)
|
||||
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:8080/"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in new issue
Block a user