Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible-warpzone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
specki
ansible-warpzone
Commits
9da9d39a
Commit
9da9d39a
authored
2 years ago
by
jabertwo
Browse files
Options
Downloads
Patches
Plain Diff
Graylog funktioniert, jetzt wirklich
parent
a8ad094e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
intern/docker_graylog/tasks/main.yml
+29
-0
29 additions, 0 deletions
intern/docker_graylog/tasks/main.yml
intern/docker_graylog/templates/docker-compose.yml
+48
-0
48 additions, 0 deletions
intern/docker_graylog/templates/docker-compose.yml
with
77 additions
and
0 deletions
intern/docker_graylog/tasks/main.yml
0 → 100644
+
29
−
0
View file @
9da9d39a
---
-
name
:
"
create
folder
struct
for
{{
servicename
}}"
file
:
path
:
"
{{
basedir
}}"
state
:
"
directory"
-
name
:
"
create
folder
struct
for
{{
servicename
}}"
file
:
path
:
"
{{
basedir
}}/{{
item
}}"
state
:
"
directory"
owner
:
508
group
:
508
with_items
:
-
"
data"
-
"
logs"
-
name
:
"
create
config
files
for
{{
servicename
}}"
template
:
src
:
"
{{
item
}}"
dest
:
"
{{
basedir
}}/{{
item
}}"
with_items
:
-
docker-compose.yml
-
name
:
"
start
{{
servicename
}}
docker"
docker_compose
:
project_src
:
"
{{
basedir
}}"
state
:
present
This diff is collapsed.
Click to expand it.
intern/docker_graylog/templates/docker-compose.yml
0 → 100644
+
48
−
0
View file @
9da9d39a
version
:
"
3"
services
:
mongodb
:
image
:
"
mongo:5.0"
restart
:
"
on-failure"
opensearch
:
image
:
"
opensearchproject/opensearch:2.4.1"
environment
:
-
"
TZ=Europe/Berlin"
-
"
OPENSEARCH_JAVA_OPTS=-Xms1g
-Xmx1g"
-
"
bootstrap.memory_lock=true"
-
"
discovery.type=single-node"
-
"
action.auto_create_index=false"
-
"
plugins.security.ssl.http.enabled=false"
-
"
plugins.security.disabled=true"
restart
:
"
on-failure"
graylog
:
hostname
:
"
server"
image
:
"
graylog/graylog:5.0"
entrypoint
:
"
/usr/bin/tini
--
wait-for-it
opensearch:9200
--
/docker-entrypoint.sh"
environment
:
TZ
:
"
Europe/Berlin"
GRAYLOG_NODE_ID_FILE
:
"
/usr/share/graylog/data/config/node-id"
GRAYLOG_PASSWORD_SECRET
:
"
warpzonewarpzone"
GRAYLOG_ROOT_PASSWORD_SHA2
:
"
26230bc6e5e044e6e3cef7c76a2800fdf2d3952ef03e85c83491b99eef149c40"
GRAYLOG_HTTP_BIND_ADDRESS
:
"
0.0.0.0:9000"
GRAYLOG_HTTP_EXTERNAL_URI
:
"
http://graylog.warpzone.lan/"
GRAYLOG_ELASTICSEARCH_HOSTS
:
"
http://opensearch:9200"
GRAYLOG_MONGODB_URI
:
"
mongodb://mongodb:27017/graylog"
ports
:
-
"
514:5140/udp"
# Syslog
-
"
514:5140/tcp"
# Syslog
restart
:
"
on-failure"
labels
:
-
traefik.enable=true
-
traefik.http.routers.{{ servicename }}.rule=Host(`{{ domain }}`)
-
traefik.http.routers.{{ servicename }}.entrypoints=websecure
-
traefik.http.services.{{ servicename }}.loadbalancer.server.port=9000
networks
:
-
web
-
default
networks
:
web
:
external
:
true
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment