-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcodeship-services.yml
52 lines (45 loc) · 1.32 KB
/
codeship-services.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
version: '3'
services:
builder:
build:
dockerfile: /ci/Dockerfile
image: splunk/fluentd-hec-out
unittests:
image: splunk/fluentd-hec-out
depends_on:
- builder
# fluentd-hec-out: <- Need a new fluentd imag
# build:
# image: fluentd-hec-out
# dockerfile: Dockerfile-Fluentd
# hostname: fluentd-hec-out
# cached: true
# environment:
# - SPLUNK_HOST="splunk"
# - SPLUNK_PROTOCOL="https"
# - SPLUNK_PORT="8088"
# - SPLUNK_HEC_TOKEN="00000000-0000-0000-0000-000000000000"
# depends_on:
# - splunk
splunk:
image: naughtytao/splunk:7.1.0
hostname: splunk
environment:
- SPLUNK_START_ARGS=--accept-license --answer-yes --seed-passwd Chang3d!
- SPLUNK_USER=root
- SPLUNK_CMD_1=http-event-collector create k8s-hec -uri https://localhost:8089 -disabled 0 -auth admin:Chang3d!
- SPLUNK_CMD_2=http-event-collector enable -uri https://localhost:8089 -disabled 0 -auth admin:Chang3d!
ports:
- containerPort: 8089
- containerPort: 8088
- containerPort: 8000
volumeMounts:
- mountPath: /opt/splunk/etc
name: splunk-volume-etc
- mountPath: /opt/splunk/var
name: splunk-volume-var
volumes:
- name: splunk-volume-etc
emptyDir: {}
- name: splunk-volume-var
emptyDir: {}