mirror of
https://memleak.eu/sn0w/pleroma-docker.git
synced 2024-12-21 08:38:48 -05:00
Add note about maintenance
This commit is contained in:
parent
24ae4e36a7
commit
f085171daa
@ -59,6 +59,12 @@ Every time you run `./pleroma build` the script will fetch all upstream changes
|
||||
This means that setting `PLEROMA_VERSION` to a branch enables rolling-release updates while setting
|
||||
it to a tag or commit-hash pins the version.
|
||||
|
||||
## Maintaining Pleroma
|
||||
|
||||
Pleroma maintenance is usually done with premade mix tasks.
|
||||
You can run these tasks using `./pleroma mix [task] [arguments...]`.
|
||||
If you need to fix some bigger issues you can also spawn a shell using `./pleroma enter`.
|
||||
|
||||
## Customizing Pleroma
|
||||
|
||||
Just add your customizations (and their folder structure) to `custom.d`.<br>
|
||||
@ -182,4 +188,4 @@ ssl_certificate /ssl/ssl.crt;
|
||||
ssl_certificate_key /ssl/ssl.key;
|
||||
```
|
||||
|
||||
In traefik-mode and manual-mode these files and the `SCRIPT_LOCAL_SSL` value are ignored.
|
||||
In traefik-mode and manual-mode these files and the `SCRIPT_ENABLE_SSL` value are ignored.
|
||||
|
2
pleroma
2
pleroma
@ -80,7 +80,7 @@ load_env() {
|
||||
action__build() { docker_compose build --build-arg __BUST_CACHE="$(date +%s)" server; }
|
||||
action__debug() { render_template; }
|
||||
action__down() { action__stop; }
|
||||
action__enter() { docker_compose exec server ash; }
|
||||
action__enter() { docker_compose exec server ash -c 'cd /pleroma && ash'; }
|
||||
action__lint() { render_template | jq; }
|
||||
action__logs() { docker_compose logs -f; }
|
||||
action__mix() { docker_compose exec server ash -c "cd /pleroma && mix $*"; }
|
||||
|
Loading…
Reference in New Issue
Block a user