-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathavalon.yaml.tmp
73 lines (59 loc) · 1.6 KB
/
avalon.yaml.tmp
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
# 开发环境
DEVELOPMENT: &dev
# 版本
VERSION: '0.3.2'
# 全局设置,会替换APPS内的字段
GLOBAL:
# 域名设置
DOMAIN: 'dev.wishstone.me'
# python sqlalchemy 打印sql语句设置
ENABLE_SQL_ECHO: false
# memcached 地址
MEMCACHED:
- '0.0.0.0:11211'
# 命名空间,暂时还没什么用
NAMESPACE: 'e5ddcc00ecd34f3aad5f166274f04610'
# redis设置
REDIS: ''
# 前端文件设置
STATIC_PATH: 'static/src'
# UWSGI 设置
UWSGI:
ENABLE_THREADS: true
USE_HTTP: false
BUFFER-SIZE: 32768
LOG_2XX: true
LOG_3XX: true
LOG_4XX: true
LOG_5XX: true
# NGINX 设置()
NGINX:
CHROOT: 'env/'
LISTEN: 23900
# APP设置
APPS:
# app heracles 注意大小写
HERACLES: &app_heracles
HOST: '0.0.0.0'
PORT: 24101
PROCESSES: 2
TYPE: 'app'
DB_MASTER: 'postgresql+psycopg2://heracles:hhhh@localhost/heracles'
ZEUS: &app_zeus
HOST: '0.0.0.0'
PORT: 24102
PROCESSES: 2
TYPE: 'app'
DB_MASTER: 'postgresql+psycopg2://zeus:zzzz@localhost/zeus'
APOLLO: &app_apollo
HOST: '0.0.0.0'
PORT: 24103
PROCESSES: 2
TYPE: 'app'
DB_MASTER: 'postgresql+psycopg2://zeus:zzzz@localhost/zeus'
PRODUCTION:
<<: *dev
DOMAIN: 'wishstone.me'
NGINX:
CHROOT: 'env/'
LISTEN: 80