Skip to content

Instantly share code, notes, and snippets.

@lukaszlenart
Created December 31, 2019 10:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukaszlenart/bf4ff51c6da937e7c2ef7bffa7bfaeaa to your computer and use it in GitHub Desktop.
Save lukaszlenart/bf4ff51c6da937e7c2ef7bffa7bfaeaa to your computer and use it in GitHub Desktop.
Hubot's docker-compose.yaml
version: '3'
services:
bob-the-bot:
build: .
container_name: "bob-the-bot"
image: "bob-the-bot"
ports:
- 80:8080
environment:
- MYSQL_URL=mysql://root:password@mysql/bob
- HUBOT_SLACK_TOKEN
- HUBOT_SLACK_VERIFICATION_TOKEN
networks:
- default
depends_on:
- mysql
mysql:
image: "mysql:5.7"
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=password
networks:
- default
command: --init-file /data/application/init.sql
volumes:
- .:/data/application/
networks:
default:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment