Skip to content

Customization

Sam Bloom edited this page Jul 24, 2022 · 10 revisions

Customization

WORK IN PROGRESS

You can edit .env, for example values, check .env.example

Options:

  • PORT

Set the HTTP port.

  • PORT_HTTPS

Set the HTTPS port.

  • MAX_CACHE_SIZE

Set a limit to file size.

  • NODE_NSFW_KEY

Add a requirement to authenticate when trying to access the API.

  • REDIS_URL

Redis URL, format: "redis[s]://[[username][:password]@][host][:port][/db-number]", e.g 'redis://alice:foobared@awesome.redis.server:6380'

  • REDIS_HOST

Redis Host, default: '127.0.0.1'

  • REDIS_PORT

Redis Port, default: 6379

  • REDIS_PASSWORD

Redis Auth Password, default: foobared

  • REDIS_DB

Redis Database