add dockerfile and add db example

parent 889c09dd
Pipeline #42928443 failed with stages
in 46 seconds
FROM node:8
ADD . /srv
WORKDIR /srv
RUN yarn install
CMD ["node", "server.js"]
......@@ -7,9 +7,11 @@
"password": "secure-password"
},
"log_location": "logs/",
"throttle": {
"burst": 200,
"rate": 100,
"ip": true
"db":{
"name": "db-name",
"password":"db-password",
"username":"db-username",
"hostname":"db-hostname"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment