For the complete documentation index, see llms.txt. This page is also available as Markdown.

Environnement variables

Docker Gunicorn variables

Can be set at container creation (v2.6.4 and up)

Key
what it does
Default value

GUNICORN_THREADS

The number of worker threads for handling requests.

4

GUNICORN_BIND

Chooses port inside the container

0.0.0.0:5000

Example: docker run -p 80:80 -e GUNICORN_THREADS=2 -e GUNICORN_THREADS=0.0.0.0:80 -v ./data:/app/data icbest/giftmanager

App Settings

Those settings can only be edited via the admin panel or directly in the .env in /data

Key
what it does
Default value

SECRET_KEY

Used to secure session cookies. Please change this value to your own.

changethis

MAILJET_API_KEY

Needed for emails on delete. If not present, app will NOT try to contact mailjet servers.

[empty]

MAILJET_API_SECRET

Needed for emails on delete.

[empty]

SYSTEM_EMAIL

Email to send notification from.

[empty]

DELETE_DAYS

Days before auto-delete ideas bought See Deletion Script

30

OIDC_CLIENT_ID

[empty]

OIDC_CLIENT_SECRET

[empty]

OIDC_SERVER_METADATA_URL

[empty]

OIDC_LOGOUT_URL

[empty]

PRIMARY_OIDC_FIELD

email

SECONDARY_OIDC_FIELD

preferred_username

PRIMARY_DB_FIELD

email

SECONDARY_DB_FIELD

username

ENABLE_AUTO_REGISTRATION

false

ENABLE_DEFAULT_LOGIN

true

LOGIN_PAGE_MESSAGE

Changes the message at the top of the login form. (Default will be empty in the .env because handled by the template)

No account? Contact a family member to create an account.

REORDERING

Allows reordering ideas on my_ideas page

true

IMGENABLED

Allows images in ideas (tries auto-fetch then ask user for link if failed)

false

CURRENCY_SYMBOL

Changes the symbol for the idea value

$

CURRENCY_POSITION

Changes the symbol position for the idea value

before

ENABLE_SELF_REGISTRATION

Allow people to self register on the login page.

false

JOINING_CODE

Needed to self register. (Empty will not ask for one at account creation)

[empty]

ENABLE_LINK_SHARING

Allows user to share their lists via external link.

true

Last updated