UI delivery, stage B: single CSP with optional connect-src origins (OVPMON_CSP_CONNECT_EXTRA)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d38acd74de
commit
d5e83eaff5
13 files changed
+211
-17
No files matched your search
@@ -47,6 +47,7 @@ COPY APP_PROFILER /app/APP_PROFILER
|
||||
# UI and nginx: the template is rendered at container start (entrypoint.sh)
|
||||
COPY --from=ui-build /app/dist /usr/share/nginx/html
|
||||
COPY APP_UI/default.conf.template /etc/ovpmon/default.conf.template
|
||||
COPY APP_UI/check-csp-connect-extra.sh /usr/local/bin/ovpmon-check-csp.sh
|
||||
RUN rm -f /etc/nginx/http.d/default.conf \
|
||||
&& mkdir -p /run/nginx /var/log/nginx \
|
||||
&& ln -sf /dev/stdout /var/log/nginx/access.log \
|
||||
@@ -56,7 +57,7 @@ COPY deploy/allinone/supervisord.conf /etc/supervisord.conf
|
||||
COPY deploy/allinone/entrypoint.sh /usr/local/bin/ovpmon-entrypoint.sh
|
||||
|
||||
# Mount points of the five data volumes and of the backup packages volume (ovp_backups)
|
||||
RUN chmod +x /usr/local/bin/ovpmon-entrypoint.sh \
|
||||
RUN chmod +x /usr/local/bin/ovpmon-entrypoint.sh /usr/local/bin/ovpmon-check-csp.sh \
|
||||
&& mkdir -p /app/db /app/easy-rsa /app/client-config /app/backups /etc/openvpn /var/log/openvpn
|
||||
|
||||
# Default database locations (the compose file sets the same values)
|
||||
|
||||
Reference in new issue
Block a user