Update README.md
This commit is contained in:
parent
d7b0a709c9
commit
b8abca3c35
1 changed files with 10 additions and 2 deletions
|
@ -5,5 +5,13 @@ The `app.ini` file for Forgejo. See the [Forgejo Configuration Cheat Sheet](http
|
||||||
## where
|
## where
|
||||||
On the `prod-sourcecamp-starcatsys` server, this file is located at `/etc/forgejo/app.ini`.
|
On the `prod-sourcecamp-starcatsys` server, this file is located at `/etc/forgejo/app.ini`.
|
||||||
|
|
||||||
## env to ini
|
## redacted values
|
||||||
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.
|
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
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue