Skip to content

Commit

Permalink
adding docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
chralp committed Jan 28, 2019
1 parent 8261c1e commit 402e9b9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
ENV=development
BOT_NAME=heyburrito
THEME=default

DATABASE_DRIVER=mongodb

MONGODB_URL="mongodb://localhost:27017"
MONGODB_DATABASE=heyburrito

SLACK_API_TOKEN=CheckDocumentation
SLACK_DAILY_CAP=5
SLACK_EMOJI_INC=:burrito:
Expand Down
25 changes: 25 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: '2'
services:
mongodb:
image: mongo:3.4
command: mongod
ports:
- "27017:27017"
volumes:
- /data/mongodb:/data/db/
heyburrito:
image: chralp/heyburrito:latest
ports:
- "3333:3333"
- "8080:8080"
environment:
- BOT_NAME=heyburrito
- DATABASE_DRIVER=mongodb
- MONGODB_URL=mongodb://mongodb:27017
- MONGODB_DATABASE=heyburrito
- SLACK_API_TOKEN=SeeDocumentation
- "SLACK_EMOJI_INC=:burrito:"
- "SLACK_EMOJI_INC=:rottenburrito:"
- SLACK_DAILY_CAP=5
links:
- mongodb

0 comments on commit 402e9b9

Please sign in to comment.