From e3b1cbe2acb1e2c90c6d607664d99a979e03ccb7 Mon Sep 17 00:00:00 2001 From: winsdominoes Date: Sun, 10 Mar 2024 20:07:08 +0700 Subject: [PATCH] Fix port --- docker-compose.yml | 6 ++++-- main.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 89fea3c..ef7ad3c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,11 @@ version: "3" services: - rural-dict: + country-dict: build: context: . dockerfile: Dockerfile restart: unless-stopped + hostname: country-dictionary + container_name: country-dictionary ports: - - "127.0.0.1:8080:8080" + - "8080:8080" diff --git a/main.py b/main.py index d22af06..5fa9804 100644 --- a/main.py +++ b/main.py @@ -56,4 +56,4 @@ def catch_all(path): if __name__ == '__main__': from waitress import serve - serve(app, host="0.0.0.0", port=8089) + serve(app, host="0.0.0.0", port=8080)