Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
shadowban-eu-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
shadowban-eu-backend
Commits
73d83f91
Commit
73d83f91
authored
Dec 08, 2021
by
tsukumi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change: default port to 9100
parent
651d0f7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.env.example
.env.example
+1
-1
backend.py
backend.py
+1
-1
No files found.
.env.example
View file @
73d83f91
...
...
@@ -13,7 +13,7 @@ LOG_FILE=./logs/results.log
# host/port which to listen on
HOST=0.0.0.0
PORT=9
001
PORT=9
100
# Auth key for Twitter guest session
TWITTER_AUTH_KEY=AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA
...
...
backend.py
View file @
73d83f91
...
...
@@ -89,7 +89,7 @@ parser.add_argument('--log', type=str, default='./logs/backend.log', help='file
parser
.
add_argument
(
'--daemon'
,
action
=
'store_true'
,
help
=
'run in background'
)
parser
.
add_argument
(
'--debug'
,
action
=
'store_true'
,
help
=
'show debug log messages'
)
parser
.
add_argument
(
'--host'
,
type
=
str
,
default
=
'localhost'
,
help
=
'hostname/ip which to listen on (default:localhost)'
)
parser
.
add_argument
(
'--port'
,
type
=
int
,
default
=
9
001
,
help
=
'port which to listen on (default: 9001
)'
)
parser
.
add_argument
(
'--port'
,
type
=
int
,
default
=
9
100
,
help
=
'port which to listen on (default: 9100
)'
)
parser
.
add_argument
(
'--mongo-host'
,
type
=
str
,
default
=
'localhost'
,
help
=
'hostname or IP of mongoDB service to connect to (default: localhost)'
)
parser
.
add_argument
(
'--mongo-port'
,
type
=
int
,
default
=
27017
,
help
=
'port of mongoDB service to connect to (default: 27017)'
)
parser
.
add_argument
(
'--mongo-db'
,
type
=
str
,
default
=
'tester'
,
help
=
'name of mongo database to use (default: tester)'
)
...
...
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