Skip to content

Instantly share code, notes, and snippets.

@automine
Created October 16, 2017 13:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save automine/8c96dd91125c4cd6f95434315458aa2c to your computer and use it in GitHub Desktop.
Save automine/8c96dd91125c4cd6f95434315458aa2c to your computer and use it in GitHub Desktop.
Splunk DS, SH, IDX, UF
version: '3'
services:
splunksh:
hostname: splunksh
image: splunk/splunk:6.6.3
environment:
SPLUNK_START_ARGS: --accept-license --answer-yes --no-prompt
OPTIMISTIC_ABOUT_FILE_LOCKING: '1'
ports:
- "8000:8000"
- "8089:8089"
volumes:
- ./sh/etc:/opt/splunk/etc
- ./sh/var:/opt/splunk/var
networks:
splunk:
aliases:
- "splunksh"
splunkds:
hostname: splunksds
image: splunk/splunk:6.6.3
environment:
SPLUNK_START_ARGS: --accept-license --answer-yes --no-prompt
SPLUNK_ENABLE_DEPLOY_SERVER: 'true'
OPTIMISTIC_ABOUT_FILE_LOCKING: '1'
ports:
- "8001:8000"
- "8090:8089"
volumes:
- ./ds/etc:/opt/splunk/etc
- ./ds/var:/opt/splunk/var
networks:
splunk:
aliases:
- "splunkds"
- "splunkcm"
splunkidx1:
hostname: splunkidx1
image: splunk/splunk:6.6.3
environment:
SPLUNK_START_ARGS: --accept-license --answer-yes --no-prompt
OPTIMISTIC_ABOUT_FILE_LOCKING: '1'
ports:
- "8002:8000"
- "8091:8089"
- "9997:9997"
- "9887:9887"
volumes:
- ./idx1/etc:/opt/splunk/etc
- ./idx1/var:/opt/splunk/var
networks:
splunk:
aliases:
- "splunkidx1"
splunkfwd:
hostname: splunkfwd
image: splunk/universalforwarder:6.6.3
environment:
SPLUNK_START_ARGS: --accept-license --answer-yes --no-prompt
SPLUNK_DEPLOYMENT_SERVER: 'splunkds:8089'
OPTIMISTIC_ABOUT_FILE_LOCKING: '1'
volumes:
- ./fwd/etc:/opt/splunk/etc
- ./fwd/var:/opt/splunk/var
networks:
splunk:
aliases:
- "splunkfwd"
networks:
splunk:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment