Skip to content

Commit

Permalink
Improve grafana compose setup
Browse files Browse the repository at this point in the history
Add main dashboard to provisioning
Replace default admin username/password because public IP lol
  • Loading branch information
slak44 committed May 16, 2024
1 parent e4b132f commit 8c3e1ae
Show file tree
Hide file tree
Showing 4 changed files with 569 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internals-explorer-deployment/.env-template
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ POSTGRES_PASSWORD=ckompiler
DEFAULT_EMAIL=
VIRTUAL_HOST=
LETSENCRYPT_HOST=

GF_SECURITY_ADMIN_USER=
GF_SECURITY_ADMIN_PASSWORD=
3 changes: 3 additions & 0 deletions internals-explorer-deployment/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ services:
expose:
- "3000"
restart: unless-stopped
env_file: .env
volumes:
- ./monitoring/grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
- ./monitoring/grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
- ./monitoring/grafana/dashboards:/var/lib/grafana/dashboards
networks:
- application
Loading

0 comments on commit 8c3e1ae

Please sign in to comment.