-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtemplate.env
More file actions
26 lines (26 loc) · 1.16 KB
/
template.env
File metadata and controls
26 lines (26 loc) · 1.16 KB
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
26
ENV=local
DJANGO_SETTINGS_MODULE=extlinks.settings.local
# To enable admin error emails, change to django.core.mail.backends.smtp.EmailBackend
DJANGO_EMAIL_ADMINS_BACKEND=django.core.mail.backends.console.EmailBackend
DJANGO_EMAIL_HOST=localhost
SECRET_KEY=et=o&42)q3r8ztu&b^sjs2+%vv3^mg%3amzcia8^)fq*w6#oj3
MYSQL_DATABASE=extlinks_db
MYSQL_ROOT_PASSWORD=links
REPLICA_DB_USER=user
REPLICA_DB_PASSWORD=password
TWL_API_TOKEN=token
# When building, these define how the local images are tagged
# When pulling, these define which images are pulled
EVENTSTREAM_TAG=latest
EXTERNALLINKS_TAG=latest
# Change to something like /data/project/prod for real servers.
HOST_BACKUP_DIR=./backup
# Swift Object Store (for storing archives), `local` will just ignore Swift usage
SWIFT_APPLICATION_CREDENTIAL_ID=local
SWIFT_APPLICATION_CREDENTIAL_SECRET=local
SWIFT_CONTAINER_NAME=archive-linkevents
SWIFT_CONTAINER_AGGREGATES=archive-aggregates
# See the readme file for setting up a local swift store
# In production, it should use the known URL https://openstack.eqiad1.wikimediacloud.org:25000/v3
OPENSTACK_AUTH_URL=http://externallinks-swift:5001/v3
LINKEVENTS_ARCHIVE_OBJECT_STORAGE_ONLY=false