Răsfoiți Sursa

Added docker note

Pouria Ezzati 8 ani în urmă
părinte
comite
e2c255b8d8
2 a modificat fișierele cu 8 adăugiri și 0 ștergeri
  1. 2 0
      README.md
  2. 6 0
      docker-examples/server-config.example.js

+ 2 - 0
README.md

@@ -50,6 +50,8 @@ You need to have [Node.js](https://nodejs.org/) and [Neo4j](https://neo4j.com/)
 5. Run for development: `npm run dev`.
 6. Run for production: `npm run build` then `npm start`.
 
+**Docker:** You can use Docker to run the app. Read [docker-examples](/docker-examples) for more info.
+
 ## API
 In additional to the website, you can use these APIs to create, delete and get URLs.
 

+ 6 - 0
docker-examples/server-config.example.js

@@ -18,6 +18,12 @@ module.exports = {
   */
   RECAPTCHA_SECRET_KEY: '',
 
+  /* 
+    Google Cloud API to prevent from users from submitting malware URLs.
+    Get it from https://developers.google.com/safe-browsing/v4/get-started
+  */
+  GOOGLE_SAFE_BROWSING_KEY: '',
+
   /*
     Your email host details to use to send verification emails.
     More info on http://nodemailer.com/