Adds indico app.
This commit is contained in:
44
indico/versions/3/configmap.yaml
Normal file
44
indico/versions/3/configmap.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: indico-config
|
||||
namespace: {{ .namespace }}
|
||||
data:
|
||||
indico.conf.tpl: |
|
||||
import os
|
||||
|
||||
# Database - credentials injected via environment variables
|
||||
SQLALCHEMY_DATABASE_URI = f'postgresql://{os.environ["PGUSER"]}:{os.environ["PGPASSWORD"]}@{os.environ["PGHOST"]}:{os.environ["PGPORT"]}/{os.environ["PGDATABASE"]}'
|
||||
del os
|
||||
|
||||
SECRET_KEY = 'SECRET_KEY_PLACEHOLDER'
|
||||
|
||||
BASE_URL = 'https://{{ .domain }}'
|
||||
USE_PROXY = True
|
||||
|
||||
DEFAULT_TIMEZONE = '{{ .timezone }}'
|
||||
DEFAULT_LOCALE = 'en_GB'
|
||||
|
||||
REDIS_CACHE_URL = 'redis://:REDIS_PASSWORD_PLACEHOLDER@{{ .redis.host }}:{{ .redis.port }}/0'
|
||||
CELERY_BROKER = 'redis://:REDIS_PASSWORD_PLACEHOLDER@{{ .redis.host }}:{{ .redis.port }}/1'
|
||||
|
||||
NO_REPLY_EMAIL = '{{ .smtp.from }}'
|
||||
SUPPORT_EMAIL = '{{ .smtp.from }}'
|
||||
|
||||
SMTP_SERVER = '{{ .smtp.host }}'
|
||||
SMTP_PORT = {{ .smtp.port }}
|
||||
SMTP_USE_TLS = False
|
||||
SMTP_LOGIN = '{{ .smtp.user }}'
|
||||
SMTP_PASSWORD = 'SMTP_PASSWORD_PLACEHOLDER'
|
||||
|
||||
LOG_DIR = '/opt/indico/log'
|
||||
TEMP_DIR = '/opt/indico/tmp'
|
||||
CACHE_DIR = '/opt/indico/cache'
|
||||
CUSTOMIZATION_DIR = '/opt/indico/custom'
|
||||
|
||||
STORAGE_BACKENDS = {'default': 'fs:/opt/indico/archive'}
|
||||
ATTACHMENT_STORAGE = 'default'
|
||||
|
||||
ENABLE_ROOMBOOKING = True
|
||||
|
||||
PLUGINS = {'previewer_code'}
|
||||
Reference in New Issue
Block a user