Skip to main content

Preparation

There are some things we need to do in preparation to install this service.

Volumes

Persistent Data

This is where the service will store its own application data and ensures we can quickly update the service image.

Ensure your user has permissions to access the folder.

Environment

EMAIL_NOREPLY
EMAIL_SMTP_HOST
EMAIL_SMTP_PORT
EMAIL_SMTP_USERNAME
EMAIL_SMTP_ENABLE_STARTTLS

DB_USER

This is the user name that will be used behind the scenes to log into the database.

For example: fider_admin

BASE_URL

This is the URL that the service will be hosted and accessible through.

For example: fider.example.com

EMAIL_NOREPLY

This is the email address that will be attached to email notifications and should not be replied to because the inbox is not monitored or is non existent. 

For example: noreply@fider.example.com

EMAIL_SMTP_HOST

This is the numerichost IDaddress of theyour useremail account on Debian.  If you are unsure, open a terminal and run:server.

id

For -u

example: smtp.gmail.com

EMAIL_SMTP_PORT

This is the numericport IDused ofby theyour useremail account's group on Debian.  If you are unsure, open a terminal and run:server.

id

For -g

example: 587

EMAIL_SMTP_USERNAME

This is the currentaccount timeuser zonename formattedused usingby theyour tzemail database.server.

For example: America/Vancouverexample@gmail.com

EMAIL_SMTP_ENABLE_STARTTLS

This enables StartTLS, which is used by the numericemail IDserver ofto theupgrade userinsecure accountconnections onto Debian.one using IfTLS youor are unsure, open a terminal and run:SSL.

id

Recommended: -u

true


Passwords

Keep these securely stored in a password manager, such as VaultWarden.

DB_PASS

This is the password that will be used for root access to the database.

It is important to use secure, randomly generated password.

You can use a random alphanumeric string from a password manager, or open the terminal and run the command:

tr -dc 'A-Za-z0-9!"#$%&'\''()*+,-./:;<=>?@[\]^_`{|}~' </dev/urandom | head -c 32; echo

This pulls a random string from the 'urandom' device, removes unwanted characters and trim it to an appropriate length.

JWT_SECRET

This is the secret that will be used for validating users who are logged into the service.

It is important to use secure, randomly generated token.

You can use a random alphanumeric string from a password manager, or open the terminal and run the command:

tr -dc 'A-Za-z0-9!' </dev/urandom | head -c 32; echo

This pulls a random string from the 'urandom' device, removes unwanted characters and trim it to an appropriate length.

EMAIL_SMTP_PASSWORD

This is the password for logging into your email account for sending administrative notifications. 

When possible, you should use app passwords.