Last active
July 3, 2022 00:30
-
-
Save automine/dc73649e8df8bc5c2c84e9f341448ff3 to your computer and use it in GitHub Desktop.
Splunk DS+MN, SH, 2xIDX, UF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
splunkidx2: | |
hostname: splunkidx2 | |
image: splunk/splunk:6.6.3 | |
environment: | |
SPLUNK_START_ARGS: --accept-license --answer-yes --no-prompt | |
OPTIMISTIC_ABOUT_FILE_LOCKING: '1' | |
ports: | |
- "8003:8000" | |
- "8092:8089" | |
- "9998:9997" | |
- "9888:9887" | |
volumes: | |
- ./idx2/etc:/opt/splunk/etc | |
- ./idx2/var:/opt/splunk/var | |
networks: | |
splunk: | |
aliases: | |
- "splunkidx2" | |
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