Commit 2fe1c07a authored by Raphael Beer's avatar Raphael Beer

Refactor: move docker .env to /docker/env

parent c15a7aac
ACCOUNT_FILE=./.htaccounts
COOKIE_DIR=./.htcookies
LOG_FILE=./logs/results.log
DEBUG_FILE=./logs/debug.log
PORT=4040
HOST=shadowban-testing
MONGO_HOST=shadowban-db
MONGO_PORT=27017
MONGO_DB=shadowban-testing
TWITTER_AUTH_KEY=GRAPHQL_KEY
......@@ -10,7 +10,8 @@ echo "--host "$HOST""
echo "--mongo-host $MONGO_HOST"
echo "--mongo-port $MONGO_PORT"
echo "--mongo-db $MONGO_DB"
echo "--twitter-auth-key $TWITTER_AUTH_KEY"
echo "--twitter-auth-key --NOT SHOWING--"
echo "--cors-allow $CORS_HOST"
python3 -u ./backend.py \
--account-file $ACCOUNT_FILE \
......@@ -22,4 +23,5 @@ python3 -u ./backend.py \
--mongo-host $MONGO_HOST \
--mongo-port $MONGO_PORT \
--mongo-db $MONGO_DB \
--twitter-auth-key $TWITTER_AUTH_KEY
--twitter-auth-key $TWITTER_AUTH_KEY \
--cors-allow $CORS_HOST
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment