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)