From b1802de21e736bfc4d5bc2c4835f16c668ed9a27 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 6 Feb 2015 15:04:38 -0800 Subject: [PATCH] Add config for olegdb --- config.moon | 7 ++++--- nginx.conf | 3 ++- 2 files changed, 6 insertions(+), 4 deletions(-) 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;