Add config for olegdb

This commit is contained in:
Christine Dodrill 2015-02-06 15:04:38 -08:00
parent 4bf0552540
commit b1802de21e
2 changed files with 6 additions and 4 deletions

View File

@ -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"

View File

@ -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;