From 4eeadd3397b029c0356281f3af4b86576cf82b33 Mon Sep 17 00:00:00 2001 From: yyasha Date: Wed, 31 Jan 2024 11:08:51 +0300 Subject: [PATCH] expose port --- Dockerfile | 2 ++ config/dev.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5985379..757a6f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,4 +26,6 @@ RUN echo "./cmd/migrator/main --migrations-path migrations" >> start.sh RUN echo "./cmd/recipes/main" >> start.sh RUN chmod +x start.sh +EXPOSE 80 + CMD ["./start.sh"] \ No newline at end of file diff --git a/config/dev.yaml b/config/dev.yaml index f8b4634..fc5fe5c 100644 --- a/config/dev.yaml +++ b/config/dev.yaml @@ -1,7 +1,7 @@ env: "dev" # local / dev / prod http-server: - address: "0.0.0.0:4444" + address: "0.0.0.0:80" timeout: 4s idle_timeout: 60s