-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Chore/docker-documentation-improvements #2494
Chore/docker-documentation-improvements #2494
Conversation
Thanks for adding the labels @rigelk. I also wonder if
Also, for If I don't miss anything it could simplify more the configuration. |
9e0a94d
to
f4111ab
Compare
Thanks for the PR. Could you fix the conflict please? |
f4111ab
to
d5c227c
Compare
Ok thanks @Chocobozzz for replying to my first comment in the issue #2304. Here For the extrating of In my opinion, some environement variables should have been left in docker-compose.yml (POSTGRES and POSTFIX) but I suppose they've been extracted to make docker-compose.yml simpler to maintain. |
Hello, I have just noticed (already present in the old doc it seems) that the files used for "preview" are different from the files downloaded. Indeed, to download with curl, you use /master/, but for the link to the previews, you use /develop/ I guess we should use /master/ for all? Could you fix it in the PR before merging? (Else I may create a new PR once this one is merged ^^) Anyway, thanks for the improvements! 👍 |
I personally don't understand why you don't use relative references, since you are already in the peertube directory. You don't need to curl these files, you can just edit them locally. The same goes for links: you replace local references with references to the github. |
Nope, do not forgot it's a docker usage, so in this documentation you curl the file. You cannot assume the entire git repo has been cloned, as ideally, you just need the docker-compose and some config files and the docker image do all the "app" job for you. The main advantage of using docker is to avoid cloning and building the app manually. So, you need to curl the files as you do not have them locally if you have not git cloned the repo :) The previous version of the doc also link to the github (and to the /develop/ instead of /master/):
My point was, for the Valid only if we keep both lines, which I think we should (one should always look at what he download) |
ah, I see. Thanks for putting that into context @LecygneNoir. |
d5c227c
to
4d7225b
Compare
Thanks for the review @LecygneNoir and @rigelk, it's fixed. |
This an update
/support/docker/production/.env
file example since the recent changes of environment variables (#2247) in the release v2.1.Also, more details and some improvements for the docker documentation
/support/doc/docker.md
to simplify the installation, some parts were unclear for non-familiar with docker-compose and traefik : https://github.com/kimsible/PeerTube/blob/chore/improve-docker-documentation/support/doc/docker.mdPlus, it moves ACME email and domain list from
/support/docker/production/config/traefik.toml
to/support/docker/production/.env
and/support/docker/production/docker-compose.yml
as a command of traefik service.