mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-05-01 21:00:43 +00:00
fix: Docker networking and permissions documentation (#500)
* chore: force env file on api * fix: Docker networking and permissions documentation - Add HOSTNAME=0.0.0.0 as default in Dockerfiles for reverse proxy compatibility - Document Linux extra_hosts requirement for host.docker.internal - Add user: root to SurrealDB examples for bind mount permissions on Linux - Update environment reference and reverse proxy docs Fixes #483, fixes #485, fixes #409
This commit is contained in:
parent
03f9edfec2
commit
b1d4c5cd34
7 changed files with 77 additions and 5 deletions
|
|
@ -59,6 +59,9 @@ COPY --from=frontend-builder /app/frontend/.next/standalone /app/frontend/
|
|||
COPY --from=frontend-builder /app/frontend/.next/static /app/frontend/.next/static
|
||||
COPY --from=frontend-builder /app/frontend/public /app/frontend/public
|
||||
|
||||
# Bind Next.js to all interfaces (required for Docker networking and reverse proxies)
|
||||
ENV HOSTNAME=0.0.0.0
|
||||
|
||||
# Setup directories and permissions
|
||||
RUN mkdir -p /app/data /mydata
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue