Initial commit

This commit is contained in:
Marcus Lindvall 2017-10-18 16:35:10 +02:00
commit 351d98c523
36 changed files with 1836 additions and 0 deletions

52
docker-compose.yml Normal file
View file

@ -0,0 +1,52 @@
version: '2'
services:
db:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: pyjeeves
MYSQL_PASSWORD: jeeves
MYSQL_DATABASE: pyjeeves
pyjeeves:
container_name: pyjeeves
build: ./
image: gitlab.lndvll.se:5500/lindvallskaffe/pyjeeves
links:
- db
volumes:
- ./config.yml:/app/config.yml
- ./:/app/
metabase:
image: metabase/metabase
container_name: metabase
restart: unless-stopped
ports:
- 80:3000
links:
- postgres
- db
volumes:
- ./metabase/tmp:/tmp
environment:
- MB_DB_TYPE=postgres
- MB_DB_DBNAME=metabase
- MB_DB_PORT=5432
- MB_DB_USER=metabase
- MB_DB_PASS="m3t@b@s3"
- MB_DB_HOST=postgres
- JAVA_TIMEZONE=Europe/Stockholm
postgres:
image: postgres:9-alpine
container_name: postgres
restart: unless-stopped
volumes:
- ./postgresql/data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=metabase
- POSTGRES_USER=metabase
- POSTGRES_PASSWORD="m3t@b@s3"