mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
cleanup(): removed docker/production folder as it was old and unused (ie grafana-docker repo is the place for the offical production docker container
This commit is contained in:
parent
e1703166f0
commit
0841e841f5
@ -1,16 +0,0 @@
|
|||||||
FROM debian:jessie
|
|
||||||
|
|
||||||
RUN apt-get -y update
|
|
||||||
RUN apt-get -y install libfontconfig
|
|
||||||
|
|
||||||
RUN mkdir -p /opt/grafana
|
|
||||||
|
|
||||||
ADD tmp/ /opt/grafana/
|
|
||||||
|
|
||||||
EXPOSE 3000
|
|
||||||
|
|
||||||
VOLUME ["/opt/grafana/data"]
|
|
||||||
VOLUME ["/opt/grafana/conf"]
|
|
||||||
|
|
||||||
WORKDIR /opt/grafana/
|
|
||||||
ENTRYPOINT ["./grafana", "web"]
|
|
@ -1,31 +0,0 @@
|
|||||||
|
|
||||||
# Grafana docker image
|
|
||||||
|
|
||||||
This container currently only contains the in development alpha of Grafana 2.0 (ie non production use). The
|
|
||||||
`#develop` tag is constantly updated as we make progress towards a beta release.
|
|
||||||
|
|
||||||
|
|
||||||
## Running your Grafana image
|
|
||||||
--------------------------
|
|
||||||
|
|
||||||
Start your image binding the external port `3000`.
|
|
||||||
|
|
||||||
docker run -i -p 3000:3000 grafana/grafana
|
|
||||||
|
|
||||||
Try it out, default admin user is admin/admin.
|
|
||||||
|
|
||||||
|
|
||||||
## Configuring your Grafana container
|
|
||||||
|
|
||||||
All options defined in conf/grafana.ini can be overridden using environment variables, for example:
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
docker run -i -p 3000:3000 \
|
|
||||||
-e "GF_SERVER_ROOT_URL=http://grafana.server.name" \
|
|
||||||
-e "GF_SECURITY_ADMIN_PASSWORD=secret" \
|
|
||||||
grafana/grafana:develop
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
cp Dockerfile ../../
|
|
||||||
cd ../../
|
|
||||||
|
|
||||||
go run build.go build
|
|
||||||
|
|
||||||
grunt release
|
|
||||||
|
|
||||||
docker build --tag "grafana/grafana:develop" .
|
|
||||||
|
|
||||||
rm Dockerfile
|
|
||||||
cd docker/production
|
|
||||||
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
docker run -i -p 3001:3000 \
|
|
||||||
-e "GF_SERVER_ROOT_URL=http://grafana.server.name" \
|
|
||||||
grafana/grafana:develop
|
|
Loading…
Reference in New Issue
Block a user