Skip to content

Documentation for running via docker-compose is incorrect #5

Open
@akinnee

Description

Based on the command generated by go.sh, the docker-compose file should look like this:

version: "3"

services:
  splunk-network-health-check:
    image: dmuth1/splunk-network-health-check
    restart: "unless-stopped"
    privileged: true
    volumes:
      - ./splunk-data:/data
      - ./user-prefs.conf:/opt/splunk/etc/users/admin/user-prefs/local/user-prefs.conf
    ports:
      - 8000:8000
    environment:
      TARGETS: "google.com,8.8.8.8,1.1.1.1"
      SPLUNK_START_ARGS: "--accept-license"
      SPLUNK_PASSWORD: "password1"

Activity

dmuth

dmuth commented on May 22, 2022

@dmuth
Owner

Hi,

So I looked through my docs for this project, and I didn't actually have anything in it about the docker-compose file. I think I might have used it for some development back when I started this project, but never really did anything with it. Hmm.

Before I try to fix anything, let me first ask what the goal is? If you were looking to learn Splunk, you might find this separate project I made a little more useful: https://github.com/dmuth/splunk-lab

If you were looking to monitor Internet connectivity, you might find this project works a little faster: https://github.com/dmuth/grafana-playground

If you're using this project in a way that isn't a good fit for either of the above, please let me know!

Thanks,

-- Doug

akinnee

akinnee commented on Jun 1, 2022

@akinnee
Author

The example I posted above will deploy your network health check tool. You have a docker-compose.yml file in the repo, but maybe you were just using that for local development. Anyway, this example removes the need to use curl or the go.sh script. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Documentation for running via docker-compose is incorrect · Issue #5 · dmuth/splunk-network-health-check