diff --git a/config.moon b/config.moon index 8852548..ce6fddf 100644 --- a/config.moon +++ b/config.moon @@ -1,7 +1,8 @@ config = require "lapis.config" -config "development", -> - port 8080 config "docker", -> port os.getenv "PORT" - postgresql_url os.getenv "DATABASE_URL" + + oleg -> + host os.getenv "OLEG_PORT_38080_TCP_ADDR" + port os.getenv "OLEG_PORT_38080_TCP_PORT" diff --git a/nginx.conf b/nginx.conf index c71ed97..d0bbe53 100644 --- a/nginx.conf +++ b/nginx.conf @@ -6,8 +6,9 @@ env PORT; env GITHUB_TOKEN; env GIT_REV; env MAILGUN_KEY; -env DATABASE_URL; env PASSWORD; +env OLEG_PORT_38080_TCP_ADDR; +env OLEG_PORT_38080_TCP_PORT; events { worker_connections 1024;