This commit is contained in:
Egor Matveev 2022-03-06 21:56:24 +03:00
parent a984896e20
commit 65150348d1
2 changed files with 2 additions and 2 deletions

View File

@ -59,5 +59,5 @@ deploy-prod:
DB_HOST: "77.246.159.65"
RABBIT_HOST: "77.246.159.65"
FS_HOST: "77.246.159.65"
DB_PASSWORD: "$DB_PASSWORD"
DB_PASSWORD: "$DB_PASSWORD_PROD"
TELEGRAM_TOKEN: "$TELEGRAM_TOKEN_PROD"

View File

@ -14,7 +14,7 @@ def runserver():
if not exists("data/meta.txt"):
with open("data/meta.txt", "w") as fs:
fs.write("0")
web.run_app(app, host=os.getenv("FS_HOST", "0.0.0.0"), port=5555)
web.run_app(app, host="0.0.0.0", port=5555)
if __name__ == "__main__":