update CONTRIBUTING.md

This commit is contained in:
Tiger Wang 2023-05-19 10:06:29 -04:00 committed by GitHub
parent b3018a347e
commit 829ce7a67d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,19 @@ Each directory under [Apps](Apps) correspond to a CasaOS App. The directory shou
- Language codes are case sensitive and should be in all lower case, e.g. `en_us`, `zh_cn`.
- There are few system wide variables can be used in `environment` and `volumes`:
```yaml
environment:
PGID: $PGID # Preset Group ID
PUID: $PUID # Preset User ID
TZ: $TZ # Current system timezone
...
volumes:
- type: bind
source: /DATA/AppData/$AppID/config # $AppID = app name, e.g. syncthing
```
- CasaOS specific metadata, also called *store info*, are stored under [extension](https://docs.docker.com/compose/compose-file/#extension) property `x-casaos` at two positions.
1. Service level