Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.