update config for envvar passing
This commit is contained in:
parent
87046fd8dd
commit
747260ac92
|
@ -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 '
|
||||||
|
|
Loading…
Reference in New Issue