kamameshi / todo-bot

slack todo bot
0 stars 0 forks source link

golang and mongodb docker-compose addings #8

Open yuua opened 6 years ago

yuua commented 6 years ago

@mapyo

this PR is create dockerfile Is it OK docker-compose?

issues no #4

command

docker-compose -p slackapp up
mapyo commented 6 years ago

@yuua

I tried docker command but error occured 😢

$ docker-compose -p slackapp up
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.mongodb.volumes contains an invalid type, it should be an array
yuua commented 6 years ago

@mapyo

Please set volumes

ex

`${PWD}/data/db/botapp:/data/db
mapyo commented 6 years ago

@yuua I tried docker command but error occured 😢

$ docker-compose -p slackapp up
.
.
.

slackbot_1  | 2018/03/23 22:44:02 Error loading .env file
slackapp_slackbot_1 exited with code 1
yuua commented 6 years ago

@mapyo

make .env ? 🌵