Skip to content

Instantly share code, notes, and snippets.

View lukaszlenart's full-sized avatar
😎
Writing code for free

Lukasz Lenart lukaszlenart

😎
Writing code for free
View GitHub Profile
@lukaszlenart
lukaszlenart / Dockerfile
Created December 31, 2019 10:13
Hubot's Dockerfile
FROM node:8.12.0-alpine
RUN apk add python \
&& apk add make \
&& apk add g++ \
&& apk add tzdata
RUN cp /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
RUN echo "Europe/Warsaw" > /etc/timezone
@lukaszlenart
lukaszlenart / docker-compose.yaml
Created December 31, 2019 10:40
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:
@lukaszlenart
lukaszlenart / init.sql
Last active December 31, 2019 11:15
Hubot's mysql init script
CREATE DATABASE IF NOT EXISTS bob DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
USE bob;
CREATE TABLE IF NOT EXISTS brain (id INT,data TEXT, PRIMARY KEY (id));