Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
3b898011
Commit
3b898011
authored
Jan 15, 2021
by
pengxiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis配置
parent
d01a1060
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
engine.py
app/api/engine.py
+2
-1
config.yaml
app/config/config.yaml
+5
-3
6a12a5d3-e826-4b49-82df-16fd2d0d67c1.pdf
app/pdf/6a12a5d3-e826-4b49-82df-16fd2d0d67c1.pdf
+0
-0
No files found.
app/api/engine.py
View file @
3b898011
...
...
@@ -99,7 +99,8 @@ tamp_diagnose_app_engine = create_engine(
redis
=
redis
.
StrictRedis
(
host
=
config
[
env
][
'redis'
][
'host'
],
port
=
config
[
env
][
'redis'
][
'port'
],
db
=
config
[
env
][
'redis'
][
'db'
]
db
=
config
[
env
][
'redis'
][
'db'
],
password
=
config
[
env
][
'redis'
][
'password'
]
)
logging
.
basicConfig
(
level
=
logging
.
INFO
,
...
...
app/config/config.yaml
View file @
3b898011
...
...
@@ -35,9 +35,10 @@ test:
user
:
root
password
:
'
@imeng123'
redis
:
host
:
localhost
port
:
6379
host
:
118.190.63.109
port
:
5
6379
db
:
0
password
:
'
qimeng123'
oss
:
imgs_url_prefix
:
https://testtamper.tanpuyun.com/hangjiapc/report/productionenv/ReportTempImg/
pdf_url_prefix
:
https://testtamper.tanpuyun.com/hangjiapc/report/productionenv/AppHoldReport/
...
...
@@ -60,9 +61,10 @@ prod:
user
:
tamp_fund
password
:
'
@imeng408'
redis
:
host
:
localhost
host
:
r-uf6atruhdbq89enqz0.redis.rds.aliyuncs.com
port
:
6379
db
:
0
password
:
'
@imeng123'
oss
:
imgs_url_prefix
:
https://tamper.tanpuyun.com/hangjiapc/report/productionenv/ReportTempImg/
pdf_url_prefix
:
https://tamper.tanpuyun.com/hangjiapc/report/productionenv/AppHoldReport/
...
...
app/pdf/6a12a5d3-e826-4b49-82df-16fd2d0d67c1.pdf
deleted
100644 → 0
View file @
d01a1060
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment