Fixed Lapis
@@ -0,0 +1,2 @@
+logs
+nginx.conf.compiled
@@ -11,7 +11,8 @@ return config("production", function()
return postgres({
backend = "pgmoon",
database = "hello_world",
- user = "postgres",
+ user = "benchmarkdbuser",
+ password = "benchmarkdbpass",
host = "DBHOSTNAME"
})
end)
@@ -9,6 +9,7 @@ config "production", ->
postgres {
backend: "pgmoon"
database: "hello_world"
- user: "postgres"
+ user: "benchmarkdbuser"
+ password: "benchmarkdbpass"
host: "DBHOSTNAME"
}
@@ -1,6 +1,7 @@
#!/bin/bash
sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.lua
+sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' config.moon
sed -i 's|DBHOSTNAME|'"${DBHOST}"'|g' nginx.conf
export PATH=${OPENRESTY_HOME}/nginx/sbin:$PATH
@@ -0,0 +1 @@
+local