diff options
author | Pouria Ezzati <ezzati.upt@gmail.com> | 2019-10-08 21:26:03 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-08 21:26:03 +0300 |
commit | 33320f0205eb0cca968ab3a593358daf352da295 (patch) | |
tree | 7716f11f33639b58b54dda936d0d582171425200 /.example.env | |
parent | 1249bc99aedca42cacb7381b572c56a929a84ae4 (diff) |
[v2-beta] Move from Neo4j to Postgres, use TypeScript for server. Fixes #217, #197, #190, #75 (#220)
* Disable underscore-dangle rule
* Add mongoose package
* Use mongodb for auth queries
* Move to MongoDB and TypeScript
* Init plan
* Update steps
* Update config
* :boom: Move to Postgres from MongoDB
* Remove unused
* Improve migration scripts
* Decrease concurrent connections
* Add skip and fix query
* Add migration guide
* Increase cahr limit to 1023
* Decrease target limit to 1023
* Update migration guid with important note
* Update example with new env vars
* Update with v2 guides
* Fix migrating visit referrers
* Add script to delete duplicated visit relationship
* Add shortUrl to link response for backward compatibility
* Linting
* Fix creating anonymous links
* Fix IP cooldown not working
* Fix deleting links by deleting visits of links first
* Fix and improve links migration script
* Add fail note to migration
* 2.0.0
* Fix main path
* Fix limit when getting list of links
* Improve table nav buttons clicking and listing
* Return countAll as number instead of string
* Fix proptype warning
* Fix not authenticating user on initial load. Fixes #71
Diffstat (limited to '.example.env')
-rw-r--r-- | .example.env | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/.example.env b/.example.env index adc592b..59ee6a6 100644 --- a/.example.env +++ b/.example.env @@ -4,11 +4,18 @@ PORT=3000 # The domain that this website is on DEFAULT_DOMAIN="localhost:3000" -# Neo4j database credential details -DB_URI="bolt://localhost" -DB_USERNAME= +# Postgres database credential details +DB_HOST=localhost +DB_NAME=postgres +DB_USER= DB_PASSWORD= +# ONLY NEEDED FOR MIGRATION !!1! +# Neo4j database credential details +NEO4J_DB_URI="bolt://localhost" +NEO4J_DB_USERNAME=neo4j +NEO4J_DB_PASSWORD=BjEphmupAf1D5pDD + # Redis host and port REDIS_DISABLED=false REDIS_HOST="127.0.0.1" @@ -25,6 +32,9 @@ NON_USER_COOLDOWN=0 # Max number of visits for each link to have detailed stats DEFAULT_MAX_STATS_PER_LINK=5000 +# Use HTTPS for links with custom domain +CUSTOM_DOMAIN_USE_HTTPS=false + # A passphrase to encrypt JWT. Use a long and secure key. JWT_SECRET=securekey @@ -44,6 +54,7 @@ GOOGLE_SAFE_BROWSING_KEY= # Google Analytics tracking ID for universal analytics. # Example: UA-XXXX-XX GOOGLE_ANALYTICS= +GOOGLE_ANALYTICS_UNIVERSAL= # Google Analytics tracking ID for universal analytics # This one is used for links |