forked from splunk/splunk-connect-for-syslog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-add-on.yml
77 lines (73 loc) · 1.99 KB
/
docker-compose-add-on.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
##
## SPDX-FileCopyrightText: 2020 Splunk, Inc. <[email protected]>
## SPDX-License-Identifier: LicenseRef-Splunk-1-2020
##
##
version: "3.7"
services:
test:
build:
context: add-ons/${TEST_ADDON}
dockerfile: Dockerfile-tests
links:
- splunk
- sc4s
volumes:
- test_results:/work/test-results
sc4s:
hostname: sc4s
image: ${SC4S_IMAGE}
#When this is enabled test_common will fail
# command: -det
ports:
- "514"
- "601"
- "514/udp"
- "5000-5050"
- "5000-5050/udp"
- "6514"
stdin_open: true
tty: true
links:
- splunk
environment:
- SPLUNK_HEC_URL=https://splunk:8088
- SPLUNK_HEC_TOKEN=9b741d03-43e9-4164-908b-e09102327d22
- SC4S_SOURCE_TLS_ENABLE=no
- SC4S_DEST_SPLUNK_HEC_TLS_VERIFY=no
- SC4S_LISTEN_JUNIPER_NETSCREEN_TCP_PORT=5000
- SC4S_LISTEN_CISCO_ASA_TCP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_TCP_PORT=5002
- SC4S_LISTEN_CISCO_MERAKI_TCP_PORT=5003
- SC4S_LISTEN_JUNIPER_IDP_TCP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_TCP_PORT=5005
- SC4S_LISTEN_PFSENSE_TCP_PORT=5006
- SC4S_LISTEN_CISCO_ASA_UDP_PORT=5001
- SC4S_LISTEN_CISCO_IOS_UDP_PORT=5002
- SC4S_LISTEN_CISCO_MERAKI_UDP_PORT=5003
- SC4S_LISTEN_JUNIPER_IDP_UDP_PORT=5004
- SC4S_LISTEN_PALOALTO_PANOS_UDP_PORT=5005
- SC4S_LISTEN_PFSENSE_UDP_PORT=5006
- SC4S_ARCHIVE_GLOBAL=no
- SC4S_LISTEN_CHECKPOINT_SPLUNK_NOISE_CONTROL=yes
splunk:
build:
context: add-ons/${TEST_ADDON}
dockerfile: Dockerfile-splunk
args:
SPLUNK_APP_ID: ${SPLUNK_APP_ID}
SPLUNK_APP_PACKAGE: package
SPLUNK_VERSION: ${SPLUNK_VERSION}
hostname: splunk
ports:
- "8000"
- "8088"
- "8089"
- "9997"
environment:
- SPLUNK_PASSWORD=Chang3d!
- SPLUNK_START_ARGS=--accept-license
- SPLUNK_HEC_TOKEN=9b741d03-43e9-4164-908b-e09102327d22
volumes:
test_results:
external: false