open-law/project.env

30 lines
706 B
Bash
Raw Normal View History

2023-04-20 13:10:16 +00:00
# Put environment variables that hold sensitive data such as passwords here.
# NOTE: This file will not be placed under version control.
2023-04-20 15:07:54 +00:00
APP_NAME=Open Law
2023-04-20 13:10:16 +00:00
SECRET_KEY=set_here_secret
# Database
# Database details for postgres container
POSTGRES_USER=postgres
POSTGRES_PASSWORD=passwd
POSTGRES_DB=db
LOCAL_DB_PORT=15432
# Database URL to use
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
DEVEL_DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@127.0.0.1:${LOCAL_DB_PORT}/${POSTGRES_DB}
# WEB app
2023-04-20 13:18:01 +00:00
LOCAL_WEB_PORT=8080
2023-04-20 13:10:16 +00:00
# Super admin
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
# Pagination
DEFAULT_PAGE_SIZE=8
PAGE_LINKS_NUMBER=8
2023-04-24 13:10:16 +00:00
MAX_SEARCH_RESULTS=5