Skip to content

Commit 1d49a7b

Browse files
authored
Merge pull request #15 from linuxserver/tune-chown
2 parents 99d12e3 + f8cfb95 commit 1d49a7b

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ We support all of the official [environment variables](https://docs.joinmastodon
8080

8181
For more information check out the [mastodon documentation](https://docs.joinmastodon.org/).
8282

83+
### Strict reverse proxies
84+
85+
This image automatically redirects to https with a self-signed certificate. If you are using a reverse proxy which validates certificates, you need to [disable this check for the container](https://docs.linuxserver.io/faq#strict-proxy).
86+
8387
## Usage
8488

8589
Here are some example snippets to help you get started creating a container.
@@ -206,7 +210,7 @@ Container images are configured using parameters passed at runtime (such as thos
206210
| `-e SMTP_PASSWORD=` | SMTP password |
207211
| `-e [email protected]` | From address for emails send from Mastodon |
208212
| `-e S3_ENABLED=false` | Enable or disable S3 storage of uploaded files |
209-
| `-e WEB_DOMAIN=mastodon.example.com` | This can be set if you want your server identifier to be different to the subdomain hosting Mastodon. See https://docs.joinmastodon.org/admin/config/#basic |
213+
| `-e WEB_DOMAIN=mastodon.example.com` | This can be set if you want your server identifier to be different to the subdomain hosting Mastodon. See [https://docs.joinmastodon.org/admin/config/#basic](https://docs.joinmastodon.org/admin/config/#basic) |
210214
| `-e ES_HOST=es` | Elasticsearch server hostname |
211215
| `-e ES_PORT=9200` | Elasticsearch port |
212216
| `-e ES_USER=elastic` | Elasticsearch username |

readme-vars.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ param_env_vars:
4949

5050
opt_param_usage_include_env: true
5151
opt_param_env_vars:
52-
- { env_var: "WEB_DOMAIN", env_value: "mastodon.example.com", desc: "This can be set if you want your server identifier to be different to the subdomain hosting Mastodon. See https://docs.joinmastodon.org/admin/config/#basic"}
52+
- { env_var: "WEB_DOMAIN", env_value: "mastodon.example.com", desc: "This can be set if you want your server identifier to be different to the subdomain hosting Mastodon. See [https://docs.joinmastodon.org/admin/config/#basic](https://docs.joinmastodon.org/admin/config/#basic)"}
5353
- { env_var: "ES_HOST", env_value: "es", desc: "Elasticsearch server hostname"}
5454
- { env_var: "ES_PORT", env_value: "9200", desc: "Elasticsearch port"}
5555
- { env_var: "ES_USER", env_value: "elastic", desc: "Elasticsearch username"}
@@ -83,6 +83,10 @@ app_setup_block: |
8383
8484
For more information check out the [mastodon documentation](https://docs.joinmastodon.org/).
8585
86+
### Strict reverse proxies
87+
88+
This image automatically redirects to https with a self-signed certificate. If you are using a reverse proxy which validates certificates, you need to [disable this check for the container](https://docs.linuxserver.io/faq#strict-proxy).
89+
8690
# changelog
8791
changelogs:
8892
- { date: "05.11.22:", desc: "Initial Release." }

root/etc/cont-init.d/50-config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ cd /app/www/ || exit 1
1717

1818
s6-setuidgid abc /usr/bin/bundle exec rails db:prepare
1919

20-
chown -R abc:abc \
21-
/config
20+
chown abc:abc \
21+
/config/mastodon/public/system

0 commit comments

Comments
 (0)