This commit is contained in:
Win 2024-03-10 20:07:08 +07:00
parent 52e8b92f1f
commit e3b1cbe2ac
2 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,11 @@
version: "3" version: "3"
services: services:
rural-dict: country-dict:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
restart: unless-stopped restart: unless-stopped
hostname: country-dictionary
container_name: country-dictionary
ports: ports:
- "127.0.0.1:8080:8080" - "8080:8080"

View File

@ -56,4 +56,4 @@ def catch_all(path):
if __name__ == '__main__': if __name__ == '__main__':
from waitress import serve from waitress import serve
serve(app, host="0.0.0.0", port=8089) serve(app, host="0.0.0.0", port=8080)