Skip to content
Open
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
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,19 @@ The main idea of this project is an increasing of projects performance inside of

# name of the database
name: "manager"

# proxy for performing tasks; tor proxy config
proxy:
# protocol of proxy
protocol: "socks5"

# host of proxy
host: "localhost"

# port of proxy
port: 9050

# username: "u53r14"

# password: "p455w0rd88"
```
16 changes: 16 additions & 0 deletions env-config/config-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,19 @@ database:

# name of the database
name: "manager"

# proxy for performing tasks
# tor proxy config
proxy:
# protocol of proxy
protocol: "socks5"

# host of proxy
host: "localhost"

# port of proxy
port: 9050

# username: "u53r14"

# password: "p455w0rd88"
16 changes: 16 additions & 0 deletions manager-ai/config.sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,19 @@ database:

# name of the database
name: "manager"

# proxy for performing tasks
# tor proxy config
proxy:
# protocol of proxy
protocol: "socks5"

# host of proxy
host: "localhost"

# port of proxy
port: 9050

# username: "u53r14"

# password: "p455w0rd88"
1 change: 1 addition & 0 deletions manager-ai/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
try:
config_dict = safe_load(config_file.read())
db_config_dict = config_dict.get('database')
PROXY = config_dict.get('proxy')

if db_config_dict:
if db_config_dict.get('host'):
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ requests==2.22.0
retrying==1.3.3
six==1.12.0
tzlocal==2.0.0
urllib3==1.25.6
urllib3==1.25.6
PySocks==1.7.1