Update README.md

This commit is contained in:
thhsh-local 2025-07-03 14:35:47 -04:00
parent d7b0a709c9
commit b8abca3c35
Signed by: thhsh-local
SSH key fingerprint: SHA256:bLOq3d7dN1v5+W5U6pQekP0rBm0YUtC9qvh3TDYyAsg

View file

@ -5,5 +5,13 @@ The `app.ini` file for Forgejo. See the [Forgejo Configuration Cheat Sheet](http
## where
On the `prod-sourcecamp-starcatsys` server, this file is located at `/etc/forgejo/app.ini`.
## env to ini
Some values in the file are shown as `<REDACTED - GITEA__SERVER__LFS_JWT_SECRET>` in place of a secret value. According to [forgejo/contrib/environment-to-ini](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/contrib/environment-to-ini), we should be able to use environment variables for these secrets instead of hard-coding them into the `app.ini` file. We're still experimenting with this feature.
## redacted values
For security, secrets have been redacted from this file. StarCat team members can find these values in [1Password](https://start.1password.com/open/i?a=B5NVCNGFJBCCLCDCN5FKFPGVBI&v=35hhast2kp5lgw3iud374426oa&i=cibe7kghl7srjzhgjb2i3lq72y&h=starcatsys.1password.com). Soon, these values will be autofilled from Vault when the container starts.
## making changes
After making changes to Forgejo's `app.ini` file, restart the Forgejo service with
```
sudo systemctl stop forgejo.service
sudo systemctl start forgejo.service
```