mirror of
https://example.com
synced 2024-11-22 07:46:41 +09:00
chore: modify the example server config files
This commit is contained in:
parent
7ce992956a
commit
0e60607e27
2 changed files with 17 additions and 13 deletions
|
@ -1,4 +0,0 @@
|
||||||
# db settings
|
|
||||||
POSTGRES_PASSWORD=example-firefish-pass
|
|
||||||
POSTGRES_USER=example-firefish-user
|
|
||||||
POSTGRES_DB=firefish
|
|
|
@ -31,21 +31,26 @@ port: 3000
|
||||||
|
|
||||||
# The bind host your Firefish server should listen on.
|
# The bind host your Firefish server should listen on.
|
||||||
# If unspecified, the wildcard address will be used.
|
# If unspecified, the wildcard address will be used.
|
||||||
#bind: 127.0.0.1
|
# You may need to comment out the following line if you use Docker/Podman.
|
||||||
|
bind: 127.0.0.1
|
||||||
|
|
||||||
# ┌──────────────────────────┐
|
# ┌──────────────────────────┐
|
||||||
#───┘ PostgreSQL configuration └────────────────────────────────
|
#───┘ PostgreSQL configuration └────────────────────────────────
|
||||||
|
|
||||||
db:
|
db:
|
||||||
|
# If you use docker-compose or podman compose with the default settings,
|
||||||
|
# you need to change this to firefish_db
|
||||||
host: localhost
|
host: localhost
|
||||||
|
|
||||||
port: 5432
|
port: 5432
|
||||||
#ssl: false
|
#ssl: false
|
||||||
|
|
||||||
# Database name
|
# Database name
|
||||||
db: firefish
|
db: firefish_db
|
||||||
|
|
||||||
# Auth
|
# Auth
|
||||||
user: example-firefish-user
|
user: firefish
|
||||||
pass: example-firefish-pass
|
pass: very_strong_password
|
||||||
|
|
||||||
# Whether disable Caching queries
|
# Whether disable Caching queries
|
||||||
#disableCache: true
|
#disableCache: true
|
||||||
|
@ -60,7 +65,10 @@ db:
|
||||||
#───┘ Redis configuration └─────────────────────────────────────
|
#───┘ Redis configuration └─────────────────────────────────────
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
# If you use docker-compose or podman compose with the default settings,
|
||||||
|
# you need to change this to firefish_redis
|
||||||
host: localhost
|
host: localhost
|
||||||
|
|
||||||
port: 6379
|
port: 6379
|
||||||
#tls:
|
#tls:
|
||||||
# host: localhost
|
# host: localhost
|
||||||
|
@ -105,10 +113,10 @@ redis:
|
||||||
#───┘ Other configuration └─────────────────────────────────────
|
#───┘ Other configuration └─────────────────────────────────────
|
||||||
|
|
||||||
# Maximum length of a post (default 3000, max 100000)
|
# Maximum length of a post (default 3000, max 100000)
|
||||||
#maxNoteLength: 3000
|
maxNoteLength: 3000
|
||||||
|
|
||||||
# Maximum length of an image caption (default 1500, max 8192)
|
# Maximum length of an image caption (default 1500, max 8192)
|
||||||
#maxCaptionLength: 1500
|
maxCaptionLength: 1500
|
||||||
|
|
||||||
# Reserved usernames that only the administrator can register with
|
# Reserved usernames that only the administrator can register with
|
||||||
reservedUsernames: [
|
reservedUsernames: [
|
||||||
|
@ -133,8 +141,8 @@ reservedUsernames: [
|
||||||
# inboxJobConcurrency: 16
|
# inboxJobConcurrency: 16
|
||||||
|
|
||||||
# Job rate limiter
|
# Job rate limiter
|
||||||
# deliverJobPerSec: 128
|
deliverJobPerSec: 128
|
||||||
# inboxJobPerSec: 16
|
inboxJobPerSec: 128
|
||||||
|
|
||||||
# Job attempts
|
# Job attempts
|
||||||
# deliverJobMaxAttempts: 12
|
# deliverJobMaxAttempts: 12
|
||||||
|
@ -169,7 +177,7 @@ reservedUsernames: [
|
||||||
#mediaProxy: https://example.com/proxy
|
#mediaProxy: https://example.com/proxy
|
||||||
|
|
||||||
# Proxy remote files (default: false)
|
# Proxy remote files (default: false)
|
||||||
#proxyRemoteFiles: true
|
proxyRemoteFiles: true
|
||||||
|
|
||||||
# Use authorized fetch for outgoing requests
|
# Use authorized fetch for outgoing requests
|
||||||
signToActivityPubGet: true
|
signToActivityPubGet: true
|
||||||
|
|
Loading…
Reference in a new issue