only have debug page show env vars
This commit is contained in:
parent
cf50261382
commit
7d2509e469
10
app.moon
10
app.moon
|
@ -24,8 +24,8 @@ class App extends lapis.Application
|
||||||
config = require("lapis.config").get!
|
config = require("lapis.config").get!
|
||||||
|
|
||||||
p config.port
|
p config.port
|
||||||
p ""..config.postgres.port .. os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
|
p os.getenv "POSTGRESQL_PORT_5432_TCP_PORT"
|
||||||
p ""..config.postgres.host .. os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
|
p os.getenv "POSTGRESQL_PORT_5432_TCP_ADDR"
|
||||||
p ""..config.postgres.user .. os.getenv "DB_USER"
|
p os.getenv "DB_USER"
|
||||||
p ""..config.postgres.password .. os.getenv "DB_PASS"
|
p os.getenv "DB_PASS"
|
||||||
p ""..config.postgres.database .. os.getenv "DB_NAME"
|
p os.getenv "DB_NAME"
|
||||||
|
|
Loading…
Reference in New Issue