Skip to content

Commit 34ffc0e

Browse files
committed
Add new env variable for Splunk 10, remove docker-compose version, add quotes to versions as is recommended
1 parent 7c056da commit 34ffc0e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docker-compose.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
version: '3.6'
2-
31
services:
42
splunk:
53
image: "splunk/splunk:${SPLUNK_VERSION}"
64
container_name: splunk
75
environment:
86
- SPLUNK_START_ARGS=--accept-license
7+
- SPLUNK_GENERAL_TERMS=--accept-sgt-current-at-splunk-com
98
- SPLUNK_HEC_TOKEN=11111111-1111-1111-1111-1111111111113
109
- SPLUNK_PASSWORD=changed!
1110
- SPLUNK_APPS_URL=https://github.com/splunk/sdk-app-collection/releases/download/v1.1.0/sdkappcollection.tgz
1211
ports:
13-
- 8000:8000
14-
- 8088:8088
15-
- 8089:8089
12+
- "8000:8000"
13+
- "8088:8088"
14+
- "8089:8089"
1615
healthcheck:
1716
test: ['CMD', 'curl', '-f', 'http://localhost:8000']
1817
interval: 5s

0 commit comments

Comments
 (0)