/
OpenPNE.yml.sample
200 lines (156 loc) · 6.9 KB
/
OpenPNE.yml.sample
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
######################################
# 基本設定 (Basic)
######################################
# SNS の URL
# URL of the SNS
base_url: "http://example.com"
######################################
# メール (Mail)
######################################
# SNS からのメール送信に使うドメイン
# Domain to use for sending e-mail from the SNS
mail_domain: "example.com"
# メール投稿アドレスにメンバー毎にユニークなハッシュを含める
# Contain an individual hash for an e-mail address that is used to post something to the SNS
is_mail_address_contain_hash: true
# メール投稿アドレスのハッシュの長さ
# Length of hash for an e-mail address for posting
mail_address_hash_length: 12
# SNS から送信するメールの Envelope From (Return-Path ヘッダ) に指定するアドレス
# Envelope From (Return-Path header) address for sending e-mail from the SNS
#mail_envelope_from: "return@example.com"
# SNS から SMTP 経由でメールを送信する場合の SMTP サーバのホスト名
# Hostname of the SMTP server for sending e-mail via SMTP
#mail_smtp_host: "smtp.example.com"
# SNS から SMTP 経由でメールを送信する場合の SMTP の設定
# Config of the SMTP for sending e-mail via SMTP
#mail_smtp_config:
# auth: "login"
# username: "myusername"
# password: "password"
# ssl: "tls"
# port: 587
# メールテンプレートに機能制限をおこなうかどうか
# Add restriction to mail templates
is_restrict_mail_template: true
######################################
# セッション (Session)
######################################
# セッションストレージ設定
# Configure Session storage
session_storage:
name: "file"
options:
# セッション存続時間設定
# Configure session lifetimes
session_life_time:
# PC 版設定
# for pc_frontend
pc_frontend:
# セッションの有効期限(秒)
# The maximum idle time
idletime: 432000 # 5 days
# 携帯版設定
# for mobile_frontend
mobile_frontend:
# セッションの有効期限(秒)
# The maximum idle time
idletime: 3600 # 1 hour
# 管理画面設定
# for pc_backend
pc_backend:
# セッションの有効期限(秒)
# The maximum idle time
idletime: 86400 # 1 day
# 「自動的にログイン」の持続時間
remember_login_limit: 2592000 # 30 days
######################################
# SSL
######################################
# 特定ページでの SSL を使用するかどうか
# Configuration of using SSL
use_ssl: false
# SSL用URL (Cookie の値を引き継ぐため、 base_url と同一ドメイン・パスである必要があります)
# Base URL for SSL (Set same domain and same path with "base_url" configuration to take over a value of Cookie)
ssl_base_url:
pc_frontend: "https://example.com"
mobile_frontend: "https://example.com"
pc_backend: "https://example.com"
# SSL が必須なアプリケーション
# Applications that are SSL required
ssl_required_applications: ["pc_backend"]
# SSL が必須なアクション
# Actions that are SSL required
ssl_required_actions:
# PC 版設定
# for pc_frontend
pc_frontend: ["member/register", "member/registerInput", "member/registerEnd", "member/editProfile", "member/config", "member/login", "member/logout", "member/invite"]
# 携帯版設定
# for mobile_frontend
mobile_frontend: ["member/register", "member/registerInput", "member/registerEnd", "member/editProfile", "member/config", "member/login", "member/logout", "member/invite", "member/configUID"]
# 管理画面設定
# for pc_backend
pc_backend: []
# SSL を使用するかどうかをメンバーが選択できるアクション
# Actions that are SSL selectable by SNS member
ssl_selectable_actions:
# PC 版設定
# for pc_frontend
pc_frontend: []
# 携帯版設定
# for mobile_frontend
mobile_frontend: []
# 管理画面設定
# for pc_backend
pc_backend: []
######################################
# 画像 (Images)
######################################
# ImageMagick 使用設定 (Configuration of using ImageMagick)
# 0: off - ImageMagick を使わない (Don't use ImageMagick)
# 1: on - GIF のみ ImageMagick を使う (Use ImageMagick only for GIF)
# 2: on - JEPG,PNG,GIF に ImageMagick を使う (ただし、 GD も必要) (Use ImageMagick for JPEG,PNG,GIF)
use_imagemagick: 0
# ImageMagick コマンドのパス
# Path to ImageMagick binary
imagemagick_path: '/usr/bin/convert'
#imagemagick_path: '"C:\Program Files\ImageMagick-6.2.5-Q16\convert"'
# 画像生成クラス設定 (Configuration of class for image-generating)
# この設定を有効にすると、 use_imagemagick の設定を無視して任意のクラスで画像を生成します。
# (If this configuration is enabled, OpenPNE generates image by using the specified class avoid "use_imagemagick")
# 使用されるクラス名は、 sfImageGenerator[image_generator_name] となります
# (OpenPNE use a class that is named as "sfImageGenerator[image_generator_name]")
#image_generator_name: "GD"
# 画像ストレージ設定 (Configuration of using storage for storing image)
image_storage: Default # DB に画像バイナリを保存します (Store image binaries in DB)
#image_storage: Filesystem # ファイルシステム上の任意のディレクトリに画像バイナリを保存します (Store image binaries to any directories in filesystem)
# 画像ストレージに Filesystem を選択した場合の画像保存先ディレクトリのパス (Web サーバからの書き込み権限が必要)
# Path to directory for storing images if a value of "image_storage" is "Filesystem" (Need to write permission from Web server)
#image_storage_filesystem_master_dir: '/path/to/directory'
######################################
# データベース (Database)
######################################
# テーブル名のプレフィックス (例: table_prefix: "op_")
# Table name prefix (e.g: table_prefix: "op_")
table_prefix: ""
# Query Cache および Result Cacheのキープレフィックス (例: doctrine_cache_key_prefix: "op_")
# Key prefix of Query Cache & Result Cache (e.g: doctrine_cache_key_prefix: "op_")
doctrine_cache_key_prefix: ""
######################################
# プロキシ (Proxy)
######################################
# インターネット接続に使用するプロキシ (ホスト名:ポート番号)
# Proxy to access the Internet (hostname:port)
http_proxy: ""
####################################
# 言語設定
####################################
# 対応言語
supported_languages: ['en', 'ja_JP']
####################################
# プラグインチャンネルサーバ設定
####################################
# デフォルトで使用するチャンネルサーバ
# default_plugin_channel_server: "plugins.openpne.jp"
# プラグインリストのベース URL
# plugin_list_base_url: "http://plugins.openpne.jp/packages/"