Add config for olegdb
This commit is contained in:
parent
4bf0552540
commit
b1802de21e
|
@ -1,7 +1,8 @@
|
||||||
config = require "lapis.config"
|
config = require "lapis.config"
|
||||||
config "development", ->
|
|
||||||
port 8080
|
|
||||||
|
|
||||||
config "docker", ->
|
config "docker", ->
|
||||||
port os.getenv "PORT"
|
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"
|
||||||
|
|
|
@ -6,8 +6,9 @@ env PORT;
|
||||||
env GITHUB_TOKEN;
|
env GITHUB_TOKEN;
|
||||||
env GIT_REV;
|
env GIT_REV;
|
||||||
env MAILGUN_KEY;
|
env MAILGUN_KEY;
|
||||||
env DATABASE_URL;
|
|
||||||
env PASSWORD;
|
env PASSWORD;
|
||||||
|
env OLEG_PORT_38080_TCP_ADDR;
|
||||||
|
env OLEG_PORT_38080_TCP_PORT;
|
||||||
|
|
||||||
events {
|
events {
|
||||||
worker_connections 1024;
|
worker_connections 1024;
|
||||||
|
|
Loading…
Reference in New Issue