Files
journal/.env.example

48 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
; =====================================================================
; 环境配置示例文件
; 用法:复制为 .env 并填入真实值。.env 不应提交到版本库。
; =====================================================================
; 邮件模板HTML多行用单引号包裹。实际值见线上 .env。
; [emailtemplete]
; pre = '<!doctype html> ... '
; net = '</p> ... </html>'
; ---------------------------------------------------------------------
; 数据库收录推送凭证application/extra/dbpush.php 读取)
; ---------------------------------------------------------------------
[portico]
host = ftp.portico.org
port = 22
user = your_portico_user
pass = your_portico_pass
[scopus]
host = sftp-opsbank2.elsevier.com
port = 22
user = your_scopus_user
pass = 'your_scopus_pass'
base = /data/incoming/tmr/
[ebsco]
host = ftp.epnet.com
port = 21
user = your_ebsco_user
pass = 'your_ebsco_pass'
[cnki]
host = FTP.cnki.net
port = 21
user = your_cnki_user
pass = your_cnki_pass
[dbpush]
; false=同步(默认)true=异步入队(需 php think queue:work --queue dbpush)
async = false
max_attempt = 3
ts_base_url = http://ts.tmrjournals.com/
article_pdf = http://journalapi.tmrjournals.com/public/articlePDF/
article_sub = http://journalapi.tmrjournals.com/public/articleSUB/
public_base = http://journalapi.tmrjournals.com/public/