-
Notifications
You must be signed in to change notification settings - Fork 7
/
.env EXAMPLE
25 lines (22 loc) · 1.11 KB
/
.env EXAMPLE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
### Django settings ###
DEBUG=0 # 1 for dev, 0 for prod
SECRET_KEY=CHANGEME # Generate a long random string of characters for this. Example command: openssl rand -base64 64
SHIFTER_URL=https://shifter.mydomain.com # The URL of your Shifter instance. Include protocol and port if not standard.
DJANGO_LOG_LEVEL=INFO
DJANGO_LOG_LOCATION=/var/log/shifter.log
TIMEZONE=UTC
EXPIRED_FILE_CLEANUP_SCHEDULE=*/15 * * * * # Cron schedule for cleaning up expired files. Default is every 15 minutes.
### Database settings ###
DATABASE=sqlite # Possible values: sqlite, postgres
# The following only need to be set if you choose postgres. They can be ignored if you choose sqlite.
# Don't forget to add a postgres container to your docker-compose.yml file if you choose postgres.
SQL_DATABASE=CHANGEME
SQL_USER=CHANGEME
SQL_PASSWORD=CHANGEME
SQL_HOST=db
SQL_PORT=5432
# Config for postgres db container - should match credentials above. You can usually ignore this, even if you choose postgres.
POSTGRES_DB=${SQL_DATABASE}
POSTGRES_USER=${SQL_USER}
POSTGRES_PASSWORD=${SQL_PASSWORD}
PGDATA=/var/lib/postgresql/data/