Operators tutorial update #265
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "linnealovespie/docs.coopcloud.tech:docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was going through the operators tutorial as a relative beginner and found some areas that assumed things that I don't know. I made some edits to increase clarity.
Thank you so much for taking the time to do this, fresh perspective on documentation is always great!
Some of these belong to the toubleshoot - maybe we need error messages to point to that page and/or have the related section point to the details in the troubleshoot page to keep this page lean-ish
I also left some comments for discussion
@ -30,6 +30,7 @@ You need to keep port `:80` and `:443` free on your server for web proxying to y
When running `usermod ...`, you may need to (depending on your system) log
in and out again of your shell session to get the required permissions for
Docker.
Alternatively you can run `newgrp` to register the group chnage.
That's good to know, I read about
newgrp
and it's a handy command!I would maybe add a link to the man page as well
@ -56,0 +65,4 @@
```
docker run hello-world
```
Would that require re-running the
sudo usermod -aG docker $USER
command too? I wonder if we can just add a sanity check earlier in the steps@ -68,6 +81,14 @@ Your entries in your DNS provider setup might look like the following.
Where `116.203.211.204` can be replaced with the IP address of your server.
On your local machine be sure to add your domain and all relevant subdomains in future steps to your `/etc/hosts` file. For example:
This is a work around NAT hairpin - this is not an ideal solution however (though a quick way to test)
It's hard to document a solution that works for all network setups but we can document the problem and few possible solutions (including this one) in a section of the troubleshooting page
I'm happy to help working on that, I personally use my pihole to manage my local domains and avoid having to document these lines in the hosts files everytime I want to access the stack from an external network
A troubleshooting section sounds helpful, but if this is the quickest and easiest way around the NAT hairpin I might advocate that this stay more visible in the tutorial, with a callout that there are other ways to solve the issue in the troubleshooting section. As someone new to the concept of NAT hairpins entirely, I think it would be helpful for beginners to at least have a quick and dirty solution immediately available.
@ -198,6 +219,8 @@ DASHBOARD_ENABLED=false
**3. Now it is time to deploy your app:**
Ensure `<traefic-domain>` is registered in `/etc/hosts` then run:
This can be replaced with
Ensure <traefic-domain> is accessible
orEnsure <traefic-domain> resolves to your server
... tho I think the-D
option is an exception to this ruleWe should test it and see what's a more accurate statement to add here
Formatting didn't resolve great, can you rephrase?
my bad! corrected formatting
@ -220,3 +243,3 @@
Take care, these secrets are only shown once on the terminal so make sure to take note of them! `abra` makes use of the [Docker secrets](/operators/handbook/#managing-secret-data) mechanism to ship these secrets securely to the server and store them as encrypted data. Only the apps themselves have access to the values from here on, they're placed in `/run/secrets` on the container file system.
Then we can deploy Nextcloud:
Make sure` <nextcloud-domain>` is registered in `/etc/hosts`, then we can deploy Nextcloud:
Same as my comment on the traefik-domain one
Woah, tysm @linnealovespie. I really can't overstate this enough: this is like one of the most valuable things you can do as a new person getting involved in the project, incredible work! Please don't hesitate to do more docs work 🙃 Nearly everyone I've spoken to involved in the project acknowledges the need to improve this part of the project. Hopefully see you around the matrix channels if you're keen for more!
@ -139,3 +160,3 @@
And then:
abra server add -D example
`abra server add -D example`
Btw the
-D
fromabra server add
went away in the new release ofabra
(which is currently a release candidate but should go out soon-ish). See https://docs.coopcloud.tech/abra/upgrade/#09x-beta-010x-beta and specifically: toolshed/organising#631. Up to you, but maybe we can remove this-D
while we're here?Catching up on backlog of reviews 🤓
Please feel free to ping me when you want another pass!
@ammaratef45 @linnealovespie checking in again, any updates?
Aside from making the section for local network domains make sense (make it into a general solution to NAT hairpin problem) I have no problem with merging this
If it's okay with you @decentral1se and @linnealovespie can we remove this part for now and have an issue open for it? I don't have cycles for putting it together soon-ish
@ammaratef45 @linnealovespie yeh go for whatever is handiest!
couldn't push to this branch so I created a new branch to merge, thanks @linnealovespie for the PR and @decentral1se for the feedback!
Pull request closed