Skip to content

Instantly share code, notes, and snippets.

@yaleman
Last active February 23, 2021 09:38
Show Gist options
  • Save yaleman/1c99cf5b600ff1104c3e2b783c44e50e to your computer and use it in GitHub Desktop.
Save yaleman/1c99cf5b600ff1104c3e2b783c44e50e to your computer and use it in GitHub Desktop.
Splunk + minio minimal
version: "3.6"
services:
splunk:
platform: linux/amd64
container_name: splunk
image: splunk/splunk:latest
ports:
- "8000:8000"
environment:
SPLUNK_START_ARGS: "--accept-license"
SPLUNK_PASSWORD: "Password123*"
#SPLUNK_LICENSE_URI: Free
DEBUG: "true"
volumes:
- "splunk:/opt/splunk"
depends_on:
- minio
minio:
image: minio/minio
container_name: minio
ports:
- "9000:9000"
command: gateway nas /data
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: minio123
volumes:
- "minio:/data"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
volumes:
minio:
splunk:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment