diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 35709ce3f..56b696c10 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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 ], diff --git a/.devcontainer/docker-compose.website.yml b/.devcontainer/docker-compose.website.yml index eda30cc36..1f22ee05c 100644 --- a/.devcontainer/docker-compose.website.yml +++ b/.devcontainer/docker-compose.website.yml @@ -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: .. @@ -28,5 +15,4 @@ services: network_mode: service:sailbot-workspace volumes: - grafana-data: website-node-modules: