compose for the world

This commit is contained in:
soulgalore 2016-10-25 07:58:51 +02:00
parent b3ed615564
commit 015a2a3885
1 changed files with 42 additions and 0 deletions

42
docker/docker-compose.yml Normal file
View File

@ -0,0 +1,42 @@
version: '2'
services:
sitespeed.io:
image: sitespeedio/sitespeed.io:4.0-beta.5
privileged: true
volumes:
- ./sitespeed-result/:/sitespeed.io/sitespeed-result
grafana:
image: grafana/grafana
depends_on:
- graphite
links:
- graphite
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=hdeAga76VG6ga7plZ1
- GF_SECURITY_ADMIN_USER=sitespeedio
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_USERS_ALLOW_SIGN_UP=false
- GF_USERS_ALLOW_ORG_CREATE=false
volumes:
- grafana:/var/lib/grafana
restart: always
graphite:
image: sitespeedio/graphite
ports:
- "2003:2003"
- "8080:80"
restart: always
volumes:
- graphite:/opt/graphite/storage/whisper
grafana-setup:
image: sitespeedio/grafana-bootstrap
links:
- grafana
environment:
- GF_PASSWORD=hdeAga76VG6ga7plZ1
- GF_USER=sitespeedio
volumes:
grafana:
graphite: