Skip to content

Commit

Permalink
add docs and example
Browse files Browse the repository at this point in the history
  • Loading branch information
orhanhenrik committed Feb 18, 2019
1 parent 1c17473 commit c59cc2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ $ yarn start
- `MONGO_URL`
- Url to the database connection
- `default`: `mongodb://localhost:27017/vote`
- `REDIS_URL`
- Hostname of the redis server
- `default`: `localhost`
- `LOGO_SRC` _(optional)_
- Url to the main logo on all pages
- `default`: `/static/images/Abakule.jpg`
Expand Down
3 changes: 3 additions & 0 deletions deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@ version: '2'
services:
mongo:
image: mongo:3.6
redis:
image: redis:latest
vote:
image: abakus/vote:latest
environment:
# Reed more about these in the README-file in the base directory
MONGO_URL: 'mongodb://mongo:27017/vote'
REDIS_URL: 'redis'
COOKIE_SECRET: 'long-secret-here-is-important'
LOGO_SRC: 'https://raw.githubusercontent.com/webkom/lego/master/assets/abakus_webkom.png'
ports:
Expand Down

0 comments on commit c59cc2d

Please sign in to comment.