update config for envvar passing

This commit is contained in:
Sam Dodrill 2015-01-09 20:03:04 -08:00
parent 87046fd8dd
commit 747260ac92
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,12 @@ http {
listen ${{PORT}}; listen ${{PORT}};
lua_code_cache ${{CODE_CACHE}}; lua_code_cache ${{CODE_CACHE}};
env POSTGRESQL_PORT_5432_TCP_PORT;
env POSTGRESQL_PORT_5432_TCP_ADDR;
env DB_USER;
env DB_PASS;
env DB_NAME;
location / { location / {
default_type text/html; default_type text/html;
content_by_lua ' content_by_lua '