[docs] Add some more context to web + albums section of external-s3 guide (#1741)

Thanks to Zul from our community Discord. These clarifications were
provided by them, I just made some grammatical edits to fit the document
better.
This commit is contained in:
Manav Rathi 2024-05-16 19:01:44 +05:30 committed by GitHub
commit a61ef1b820
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -164,6 +164,27 @@ EOF
RUN chmod +x /docker-entrypoint.d/replace_ente_endpoints.sh
```
This runs nginx inside to handle both the web & album URLs so we don't have to
make two web images with different port.
* `DOCKER_RUNTIME_REPLACE_ENDPOINT` this is your public museum API URL.
* `DOCKER_RUNTIME_REPLACE_ALBUMS_ENDPOINT` this is the shared albums URL (for
more details about configuring shared albums, see
[faq/sharing](/self-hosting/faq/sharing)).
Note how above we had updated the `compose.yaml` file for the server with
```yaml
web:
build:
context: web
ports:
- 8081:80
- 8082:80
```
so that web and album both point to the same container and nginx will handle it.
## 2. Set up the `.credentials.env` file
Create a `.credentials.env` file at the root of the project with the following