diff --git a/config.moon b/config.moon index 1f0aa73..9e8036f 100644 --- a/config.moon +++ b/config.moon @@ -3,4 +3,4 @@ config "development", -> port 8080 config "docker", -> - port 5000 + port os.getenv "PORT" diff --git a/nginx.conf b/nginx.conf index 9e88115..817e3c1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -2,6 +2,8 @@ worker_processes ${{NUM_WORKERS}}; error_log stderr notice; daemon off; +env PORT; + events { worker_connections 1024; }