-
Notifications
You must be signed in to change notification settings - Fork 279
Documentation for self-hosting with docker compose #855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
48a9bc4
to
ae27df7
Compare
Signed-off-by: unteem <[email protected]> f
Signed-off-by: unteem <[email protected]>
Signed-off-by: unteem <[email protected]>
ae27df7
to
3531bf4
Compare
docker compose pull | ||
``` | ||
|
||
### Step 3: Restart yout containers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yout
location /collaboration-auth { | ||
proxy_pass http://docs_backend/api/v1.0/documents/collaboration-auth/; | ||
proxy_set_header X-Forwarded-Proto https; | ||
proxy_set_header Host $host; | ||
proxy_set_header X-Real-IP $remote_addr; | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
proxy_set_header X-Original-URL $request_uri; | ||
|
||
# Prevent the body from being passed | ||
proxy_pass_request_body off; | ||
proxy_set_header Content-Length ""; | ||
proxy_set_header X-Original-Method $request_method; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need this anymore as mentioned here. I am not sure if we still need /media-auth
or not. I've managed to spin up docs
with traefik
without these two /collaboration-auth
and /media-auth
with socket connection and real time collaboration.
Purpose
Make self hosting of Docs easier with an example of a deployment procedure with docker compose and document how to configure Docs.
While #583 propose an easy way to deploy Docs with docker and Make, here we describe more in details the various steps and requirements to deploy Docs.
Proposal
Improvements
Fixes #561
Supersedes #583
A one liner quick start could be a nice addition: