open-law/project.env

29 lines
685 B
Bash

# Put environment variables that hold sensitive data such as passwords here.
# NOTE: This file will not be placed under version control.
APP_NAME=Open Law
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
LOCAL_WEB_PORT=8080
# Super admin
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin
# Pagination
DEFAULT_PAGE_SIZE=8
PAGE_LINKS_NUMBER=8