Skip to content

Commit

Permalink
add docker-compose example part 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfiola committed Jan 29, 2024
1 parent 145217b commit 9d37789
Show file tree
Hide file tree
Showing 5 changed files with 1,489 additions and 19 deletions.
28 changes: 28 additions & 0 deletions example/observability_infrastructure/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '3'
services:
influxdb:
image: influxdb:1.8
environment:
- INFLUXDB_DB=locust
ports:
- "8086:8086"
volumes:
- influxdb-data:/var/lib/influxdb

grafana:
image: grafana/grafana:latest
ports:
- "80:3000"
- "443:3000"
environment:
GF_SERVER_ROOT_URL: "%(protocol)s://%(domain)s:%(http_port)s/"
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_AUTH_ANONYMOUS_ORG_ROLE: "Viewer"
GF_PATHS_PROVISIONING: "/etc/grafana/provisioning"
volumes:
- grafana-data:/var/lib/grafana
- ./provisioning:/etc/grafana/provisioning

volumes:
influxdb-data:
grafana-data:
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/provisioning/dashboards
Loading

0 comments on commit 9d37789

Please sign in to comment.