Skip to content

Commit c59cc2d

Browse files
committed
add docs and example
1 parent 1c17473 commit c59cc2d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ $ yarn start
4343
- `MONGO_URL`
4444
- Url to the database connection
4545
- `default`: `mongodb://localhost:27017/vote`
46+
- `REDIS_URL`
47+
- Hostname of the redis server
48+
- `default`: `localhost`
4649
- `LOGO_SRC` _(optional)_
4750
- Url to the main logo on all pages
4851
- `default`: `/static/images/Abakule.jpg`

deployment/docker-compose.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,14 @@ version: '2'
33
services:
44
mongo:
55
image: mongo:3.6
6+
redis:
7+
image: redis:latest
68
vote:
79
image: abakus/vote:latest
810
environment:
911
# Reed more about these in the README-file in the base directory
1012
MONGO_URL: 'mongodb://mongo:27017/vote'
13+
REDIS_URL: 'redis'
1114
COOKIE_SECRET: 'long-secret-here-is-important'
1215
LOGO_SRC: 'https://raw.githubusercontent.com/webkom/lego/master/assets/abakus_webkom.png'
1316
ports:

0 commit comments

Comments
 (0)