1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fider_ynh.git synced 2024-09-03 18:36:11 +02:00
fider_ynh/conf/run_fider

35 lines
780 B
Text
Raw Permalink Normal View History

2022-10-06 14:42:19 +02:00
#!/usr/bin/env bash
2023-06-09 21:48:46 +02:00
cd "__INSTALL_DIR__/app"
2022-10-06 14:42:19 +02:00
# Public Host Name
export BASE_URL=https://__DOMAIN____PATH__
export PORT=__PORT__
# Connection string to the PostgreSQL database
export DATABASE_URL="postgres://__DB_USER__:__DB_PWD__@localhost:5432/__DB_NAME__?sslmode=disable"
# Generate a 512-bit secret
export JWT_SECRET=__SECRET__
# From which account e-mails will be sent
export EMAIL_NOREPLY=__APP__@__DOMAIN__
###
# EMAIL
###
2023-11-12 10:48:03 +01:00
export EMAIL_SMTP_HOST=localhost
2022-10-06 14:42:19 +02:00
export EMAIL_SMTP_PORT=25
export EMAIL_SMTP_ENABLE_STARTTLS='false'
2023-11-12 10:48:03 +01:00
export EMAIL_SMTP_USERNAME=__APP__
export EMAIL_SMTP_PASSWORD=__MAIL_PWD__
2022-10-06 14:42:19 +02:00
# This file is provided to the administrator to customize OAuth etc.
if [[ -f "custom_fider_env" ]]; then
source custom_fider_env
fi
./fider migrate
./fider "$@"