Skip to content

Commit

Permalink
chore(config): redis cache host:port
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Oct 4, 2020
1 parent ca3e959 commit 89e4c0d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=urlsh

# Redis host:port
# (Ideally, this app should work without cache)
APP_CACHE_HOST=urlshcache:6379

# Controls same url to be shortened again or not
# Options: 0, 1
APP_ALLOW_DUPE_URL=1
Expand Down

0 comments on commit 89e4c0d

Please sign in to comment.