Add Grafana, Influxdb
This commit is contained in:
parent
4ea086fb00
commit
679d9c9e1c
|
@ -38,6 +38,8 @@ docker-compose up -d
|
|||
| lychee | web photo gallery |
|
||||
| piwigo | web photo gallery <- Best one in my Opinion |
|
||||
| picapport | web photo gallery |
|
||||
| Grafana | Graphical Interface for databases |
|
||||
| Influxdb | time series database server |
|
||||
|
||||
<br><br>
|
||||
# Sources
|
||||
|
|
|
@ -14,7 +14,7 @@ services:
|
|||
- DB_HOST=db:3306
|
||||
- DB_NAME=gitea
|
||||
- DB_USER=gitea
|
||||
- DB_PASSWD=123456
|
||||
- DB_PASSWD=changeme
|
||||
- APP_NAME=My_Git_Server
|
||||
- DISABLE_SSH=true
|
||||
- DISABLE_REGISTRATION=true
|
||||
|
@ -36,9 +36,9 @@ services:
|
|||
image: mysql:5.7
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=123456
|
||||
- MYSQL_ROOT_PASSWORD=changeme
|
||||
- MYSQL_USER=gitea
|
||||
- MYSQL_PASSWORD=123456
|
||||
- MYSQL_PASSWORD=changeme
|
||||
- MYSQL_DATABASE=gitea
|
||||
networks:
|
||||
- gitea
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# If after the Start of the Container the logs say: "You may have issues with file permissions"
|
||||
# Change the wirte permissions for the ./grafana and ./grafana_ext folder using: "chown 472 ./grafana"
|
||||
# or see https://community.grafana.com/t/new-docker-install-with-persistent-storage-permission-problem/10896
|
||||
|
||||
version: '2'
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '96:3000'
|
||||
volumes:
|
||||
- ./grafana:/var/lib/grafana
|
||||
#- ./grafana_etc:/etc/grafana
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=admin
|
||||
- GF_SECURITY_ADMIN_PASSWORD=changeme
|
||||
user: "root"
|
||||
|
||||
|
||||
|
||||
|
|
@ -7,10 +7,10 @@ services:
|
|||
volumes:
|
||||
- ./db_config:/config
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=123456
|
||||
- MYSQL_ROOT_PASSWORD=changeme
|
||||
- MYSQL_DATABASE=hedgedoc
|
||||
- MYSQL_USER=hedgedoc
|
||||
- MYSQL_PASSWORD=123456
|
||||
- MYSQL_PASSWORD=changeme
|
||||
- PGID=0
|
||||
- PUID=0
|
||||
- TZ=Europe/Berlin
|
||||
|
@ -25,7 +25,7 @@ services:
|
|||
environment:
|
||||
- DB_HOST=mariadb
|
||||
- DB_USER=hedgedoc
|
||||
- DB_PASS=123456
|
||||
- DB_PASS=changeme
|
||||
- DB_NAME=hedgedoc
|
||||
- DB_PORT=3306
|
||||
- PGID=0
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
version: '2'
|
||||
services:
|
||||
influxdb:
|
||||
image: influxdb:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '8086:8086'
|
||||
volumes:
|
||||
- ./influxdb:/var/lib/influxdb2
|
||||
- ./config:/etc/influxdb2
|
||||
environment:
|
||||
- INFLUXDB_DB=DBNAME
|
||||
- DOCKER_INFLUXDB_INIT_USERNAME=admin
|
||||
- DOCKER_INFLUXDB_INIT_PASSWORD=changeme
|
||||
- DOCKER_INFLUXDB_INIT_ORG=organisation_name
|
||||
- DOCKER_INFLUXDB_INIT_BUCKET=bucket_name
|
||||
- TZ:Europe/Berlin
|
||||
#- DOCKER_INFLUXDB_INIT_MODE=upgrade #See for details how to upgrade from 1.x to 2.x: https://docs.influxdata.com/influxdb/v2.0/upgrade/v1-to-v2/docker/
|
||||
|
||||
|
Loading…
Reference in New Issue