Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

change config.ini for test #407

Merged
merged 1 commit into from
Jan 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ doc/example.json
conf/config.ini
logs/*.log
build_docker.sh
dongtai_py_agent.log
2 changes: 2 additions & 0 deletions conf/config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ cc_addr = cc_addr
access_key = LTAI5t7pu9WUT2DcbknfNiaD
access_key_secret = ZoEOSi7KfayQ7JalvJVHa37fdZ4XFY

[sca]
base_url = http://52.80.75.225:8000

[security]
csrf_trust_origins = localhost,.huoxian.cn,.secnium.xyz
Expand Down
8 changes: 6 additions & 2 deletions conf/config.ini.test
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[mysql]
host = localhost
host = 127.0.0.1
port = 3306
name = dongtai-webapi
name = dongtai_webapi
user = root
password = dongtai-iast


[redis]
host = redis_server
port = redis_port
Expand All @@ -29,6 +30,9 @@ cc_addr = cc_addr
access_key = LTAI5t7pu9WUT2DcbknfNiaD
access_key_secret = ZoEOSi7KfayQ7JalvJVHa37fdZ4XFY

[sca]
base_url = http://52.80.75.225:8000

[other]
domain = http://localhost.domain/
demo_session_cookie_domain = .huoxian.cn
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ services:
- DOC=TRUE
- debug=true
- SAVEEYE=TRUE
- PROJECT_NAME=LocalWEBAPI
- LOG_PATH=/tmp/dongtai-agent-python.log
volumes:
- .:/opt/dongtai/webapi/

Expand Down