This repository has been archived on 2021-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
plume/roles/plume/templates/env.j2
2019-03-13 19:57:53 +01:00

25 lines
915 B
Django/Jinja

# The address of the database
# (replace USER, PASSWORD, PORT and DATABASE_NAME with your values)
#
# If you are using SQlite, use the path of the database file (`plume.db` for instance)
DATABASE_URL=postgres://{{ plume.db_user }}:{{ plume.db_password }}@{{ plume.db_host }}:{{ plume.db_port }}/{{ plume.db_name }}
# For PostgreSQL: migrations/postgres
# For SQlite: migrations/sqlite
MIGRATION_DIRECTORY=migrations/postgres
# The domain on which your instance will be available
BASE_URL={{ plume.domain }}
# Secret key used for private cookies and CSRF protection
# You can generate one with `openssl rand -base64 32`
ROCKET_SECRET_KEY={{ plume.rocket_secret_key }}
ROCKET_ADDRESS={{ plume.rocket_address }}
ROCKET_PORT={{ plume.rocket_port }}
# Mail settings
MAIL_SERVER={{ plume.mail_server }}
MAIL_USER={{ plume.mail_user }}
MAIL_PASSWORD={{ plume.mail_password }}
MAIL_HELO_NAME={{ plume.mail_helo_name }}