Skip to content

Commit

Permalink
Remove Grafana (#194)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-5546 authored Nov 5, 2023
1 parent 371da7b commit f23003b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
// Uncomment the files containing the programs you need
"docker-compose.db.yml", // mongodb
// "docker-compose.docs.yml", // docs
// "docker-compose.website.yml", // grafana, website
// "docker-compose.website.yml", // website

"docker-compose.yml"
],
"forwardPorts": [
3000, // grafana
3005, // website
8000 // docs
],
Expand Down
14 changes: 0 additions & 14 deletions .devcontainer/docker-compose.website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
version: '3.8'

services:
# https://github.com/meln5674/grafana-mongodb-community-plugin/blob/7c48c8c45353cbd360d08ff597ce2ccdc8bad85d/examples/docker-compose/official/docker-compose.yaml
grafana:
image: grafana/grafana-oss:latest
restart: unless-stopped
volumes:
- grafana-data:/var/lib/grafana:delegated
environment:
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=meln5674-mongodb-community
- GF_INSTALL_PLUGINS=https://github.com/meln5674/grafana-mongodb-community-plugin/releases/download/v0.1.2/meln5674-mongodb-community.zip;meln5674-mongodb-community

# Runs on the same network as the workspace container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:sailbot-workspace

website:
build:
context: ..
Expand All @@ -28,5 +15,4 @@ services:
network_mode: service:sailbot-workspace

volumes:
grafana-data:
website-node-modules:

0 comments on commit f23003b

Please sign in to comment.