-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvariables.yml
92 lines (73 loc) · 3.47 KB
/
variables.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# This file defines environment variables for the TQ website
# The format is as follows:
# TQ_ENVIRONMENT_VAR: [SIP_ENVIRONMENT_VAR, default_value]
#
# Types to not really matter, the YAML parser takes care of that
# Thus no need to define as strings (with "") unless explicitly needed.
# The following can be used as null value: ~
#
# Documentation on the environment variables provided by SIP can be found here:
# https://dev.vseth.ethz.ch/reference/gatekeeper
# Host name
TQ_NGINX_HOST: [~, localhost]
# Ports
TQ_NGINX_PORT: [~, 80]
TQ_SSL_PORT: [~, 443]
TQ_DJANGO_PORT: [~, 8000]
# Deployment dependent configurations
TQ_DEBUG: [SIP_TQ_DJANGO_DEBUG, false]
TQ_ENVIRONMENT: [SIP_TQ_ENVIRONMENT, overrideme] # Used for sentry, reasonable values would be: prod, staging, test, dev
TQ_SECRET_KEY: [SIP_TQ_DJANGO_SECRET_KEY, overrideme]
TQ_DEPLOYMENT_DOMAIN: [~, tanzquotient.org]
TQ_ALLOWED_HOSTS: [SIP_TQ_ALLOWED_HOSTS, [127.0.0.1, localhost]]
# Database
TQ_DB_HOST: [SIP_POSTGRES_TQ_WEBSITE_SERVER, localhost]
TQ_DB_PORT: [SIP_POSTGRES_TQ_WEBSITE_PORT, 5432]
TQ_DB_NAME: [SIP_POSTGRES_TQ_WEBSITE_NAME, tq_prod_website_tq_website] # The name of the database to connect to
TQ_DB_USER: [SIP_POSTGRES_TQ_WEBSITE_USER, root]
TQ_DB_PASSWORD: [SIP_POSTGRES_TQ_WEBSITE_PW, overrideme]
TQ_DB_PORT_DEBUG_HOST: [~, 5432] # This port is used in the docker-compose.yml to map the port to localhost
# S3 Storage
TQ_S3_ENABLED: [~, true]
TQ_S3_MEDIA_BUCKET: [SIP_S3_TQ_MEDIA_BUCKET, media]
TQ_S3_MEDIA_HOST: [SIP_S3_TQ_MEDIA_HOST, 127.0.0.1]
TQ_S3_MEDIA_PORT: [SIP_S3_TQ_MEDIA_PORT, 9000]
TQ_S3_MEDIA_REGION: [~, ~]
TQ_S3_MEDIA_USE_SSL: [SIP_S3_TQ_MEDIA_USE_SSL, false]
TQ_S3_MEDIA_CUSTOM_DOMAIN: [~, ~]
TQ_S3_MEDIA_ACCESS_KEY: [SIP_S3_TQ_MEDIA_ACCESS_KEY, overrideme]
TQ_S3_MEDIA_SECRET_KEY: [SIP_S3_TQ_MEDIA_SECRET_KEY, overrideme]
TQ_S3_STATIC_BUCKET: [SIP_S3_TQ_STATIC_BUCKET, static]
TQ_S3_STATIC_HOST: [SIP_S3_TQ_STATIC_HOST, 127.0.0.1]
TQ_S3_STATIC_PORT: [SIP_S3_TQ_STATIC_PORT, 9000]
TQ_S3_STATIC_REGION: [~, ~]
TQ_S3_STATIC_USE_SSL: [SIP_S3_TQ_STATIC_USE_SSL, false]
TQ_S3_STATIC_CUSTOM_DOMAIN: [~, ~]
TQ_S3_STATIC_ACCESS_KEY: [SIP_S3_TQ_STATIC_ACCESS_KEY, overrideme]
TQ_S3_STATIC_SECRET_KEY: [SIP_S3_TQ_STATIC_SECRET_KEY, overrideme]
TQ_S3_FINANCE_BUCKET: [SIP_S3_TQ_POSTFINANCE_BUCKET, finance]
TQ_S3_FINANCE_HOST: [SIP_S3_TQ_POSTFINANCE_HOST, 127.0.0.1]
TQ_S3_FINANCE_PORT: [SIP_S3_TQ_POSTFINANCE_PORT, 9000]
TQ_S3_FINANCE_REGION: [~, ~]
TQ_S3_FINANCE_USE_SSL: [SIP_S3_TQ_POSTFINANCE_USE_SSL, false]
TQ_S3_FINANCE_CUSTOM_DOMAIN: [~, ~]
TQ_S3_FINANCE_ACCESS_KEY: [SIP_S3_TQ_POSTFINANCE_ACCESS_KEY, overrideme]
TQ_S3_FINANCE_SECRET_KEY: [SIP_S3_TQ_POSTFINANCE_SECRET_KEY, overrideme]
# Redis
# TODO use sidecar URL
TQ_REDIS_BROKER_URL: [SIP_TQ_REDIS_URL, "redis://redis/"]
# Email
TQ_EMAIL_HOST: [SIP_SMTP_TQ_MAIL_HOST, ~]
TQ_EMAIL_PORT: [SIP_SMTP_TQ_MAIL_PORT, 587]
TQ_EMAIL_USE_TLS: [SIP_SMTP_TQ_MAIL_USE_TLS, true]
TQ_EMAIL_HOST_USER: [SIP_SMTP_TQ_MAIL_MAIL_USER, ~]
TQ_EMAIL_HOST_PASSWORD: [SIP_SMTP_TQ_MAIL_MAIL_PW, ~]
TQ_DEFAULT_FROM_EMAIL: [SIP_SMTP_TQ_MAIL_FROM_MAIL, ~]
# Analytics
TQ_GOOGLE_ANALYTICS_PROPERTY_ID: [SIP_TQ_GOOGLE_ANALYTICS_PROPERTY_ID, ~]
# Account details
TQ_PAYMENT_ACCOUNT_IBAN: [SIP_TQ_PAYMENT_ACCOUNT_IBAN, ~]
TQ_PAYMENT_ACCOUNT_SWIFT: [SIP_TQ_PAYMENT_ACCOUNT_SWIFT, ~]
TQ_PAYMENT_ACCOUNT_POST_NUMBER: [SIP_TQ_PAYMENT_ACCOUNT_POST_NUMBER, ~]
TQ_PAYMENT_ACCOUNT_RECIPIENT: [SIP_TQ_PAYMENT_ACCOUNT_RECIPIENT, ~]
TQ_PAYMENT_ACCOUNT_RECIPIENT_ZIPCODE_CITY: [SIP_TQ_PAYMENT_ACCOUNT_RECIPIENT_ZIPCODE_CITY, ~]