fix: add config.yaml mount, update media keys, trusted-proxies
This commit is contained in:
@@ -14,6 +14,7 @@ protocol: "https"
|
||||
bind-address: "0.0.0.0"
|
||||
port: 8080
|
||||
trusted-proxies:
|
||||
- "172.18.0.1/16"
|
||||
- "127.0.0.1/32"
|
||||
- "::1"
|
||||
|
||||
@@ -46,7 +47,7 @@ accounts-reason-required: true
|
||||
accounts-allow-custom-css: false
|
||||
|
||||
# Média
|
||||
media-image-max-size: 10485760 # 10 MiB
|
||||
media-local-max-size: "52428800" # 50 MiB
|
||||
media-video-max-size: 41943040 # 40 MiB
|
||||
media-description-min-chars: 0
|
||||
media-description-max-chars: 500
|
||||
|
||||
@@ -3,12 +3,19 @@ services:
|
||||
image: superseriousbusiness/gotosocial:latest
|
||||
container_name: gotosocial
|
||||
restart: unless-stopped
|
||||
entrypoint:
|
||||
[
|
||||
"/gotosocial/gotosocial",
|
||||
"server",
|
||||
"start",
|
||||
"--config-path",
|
||||
"/gotosocial/config.yaml",
|
||||
]
|
||||
environment:
|
||||
- GTS_HOST=GTS_HOST_PLACEHOLDER
|
||||
- GTS_ACCOUNT_DOMAIN=ACCOUNT_DOMAIN_PLACEHOLDER
|
||||
- GTS_TRUSTED_PROXIES=127.0.0.1/32,172.18.0.1/16
|
||||
- TZ=Europe/Prague
|
||||
ports:
|
||||
- "127.0.0.1:8080:8080"
|
||||
volumes:
|
||||
- ./data:/gotosocial/storage
|
||||
- ./config/config.yaml:/gotosocial/config.yaml
|
||||
user: "1000:1000"
|
||||
|
||||
Reference in New Issue
Block a user