-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ssm-env-example
53 lines (42 loc) · 1.99 KB
/
.ssm-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
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
# Description:
# This file is used to store environment variables for shadowsocks-manager.
# You can copy this file to $SSM_DATA_HOME/.ssm-env and modify the values of the variables to meet your requirements.
# The $SSM_DATA_HOME/.ssm-env file can also be maintained by 'ssm-setup -e KEY=VALUE' command.
# Django settings, used as:
# SECRET_KEY = SSM_SECRET_KEY
# SECURITY WARNING: keep the secret key used in production secret!
SSM_SECRET_KEY=ef24ff499c58a21711385e8a6b31a7680fb41765b8ca0cb451
# Django settings, used as:
# DEBUG = SSM_DEBUG
# SECURITY WARNING: don't run with debug turned on in production!
SSM_DEBUG=True
# Django settings, used as:
# TIME_ZONE = SSM_TIME_ZONE
SSM_TIME_ZONE=UTC
# Django settings, used as (presudo code):
# ALLOWED_HOSTS += SSM_ALLOWED_SITES_DEFAULTS.split(',')
SSM_ALLOWED_SITES_DEFAULTS=
# Django settings, used as (presudo code):
# ALLOWED_HOSTS += SSM_ALLOWED_SITES_DEFAULTS_PLUS.split(',')
SSM_ALLOWED_SITES_DEFAULTS_PLUS=
# Django settings, used as (presudo code):
# ALLOWED_HOSTS += {dyanmic_public_ip} if SSM_ALLOWED_SITES_DYNAMIC_PUBLIC_IP else []
SSM_ALLOWED_SITES_DYNAMIC_PUBLIC_IP=False
# Django settings for CachedAllowedSites, used as:
# CachedAllowedSites.net_timeout = SSM_ALLOWED_SITES_NET_TIMEOUT
SSM_ALLOWED_SITES_NET_TIMEOUT=5
# Django settings for CachedAllowedSites, used as:
# CachedAllowedSites.cache_timeout = SSM_ALLOWED_SITES_CACHE_TIMEOUT
SSM_ALLOWED_SITES_CACHE_TIMEOUT=180
# Django settings, used as:
# CACHES.default.backend = django.core.cache.backends.SSM_CACHES_BACKEND
SSM_CACHES_BACKEND=memcached.MemcachedCache
# Django settings, used as:
# CACHES.default.location = SSM_MEMCACHED_HOST:SSM_MEMCACHED_PORT
# These two environment variables are used only if SSM_CACHES_BACKEND is set to 'memcached.MemcachedCache'
SSM_MEMCACHED_HOST=localhost
SSM_MEMCACHED_PORT=11211
# Django settings for celery, used as:
# CELERY_BROKER_URL = amqp://guest:guest@SSM_RABBITMQ_HOST:SSM_RABBITMQ_PORT//
SSM_RABBITMQ_HOST=localhost
SSM_RABBITMQ_PORT=5672