removed server_

This commit is contained in:
2023-08-22 23:56:56 +02:00
parent 7830e1f38e
commit d0745f3439
82 changed files with 116 additions and 116 deletions

View File

@@ -1,4 +1,4 @@
# role server_docker-elk
# role docker-elk
I decided against using this role for security reasons. I recommend to use another tool if you don't want to pay for keeping your logs save and if you don't want to depend on external servers.
@@ -9,5 +9,5 @@ docker restart elk_logstash_1 && docker restart elk_elasticsearch_1 && docker re
## see
- https://logz.io/blog/elk-stack-on-docker/
- https://github.com/kevinveenbirkenbach/server_docker-elk
- https://logz.io/blog/server_docker-logging/
- https://github.com/kevinveenbirkenbach/docker-elk
- https://logz.io/blog/docker-logging/

View File

@@ -1,2 +1,2 @@
---
docker_elk_compose_path: "/srv/github.com/kevinveenbirkenbach/server_docker-elk/"
docker_elk_compose_path: "/srv/github.com/kevinveenbirkenbach/docker-elk/"

View File

@@ -1,5 +1,5 @@
---
- name: recreate server_docker-elk
- name: recreate docker-elk
command:
cmd: docker-compose up -d --force-recreate
chdir: "{{docker_elk_compose_path}}"

View File

@@ -1,2 +1,2 @@
dependencies:
- server_native-docker-reverse-proxy
- native-docker-reverse-proxy

View File

@@ -4,7 +4,7 @@
command: certbot certonly --agree-tos --email {{administrator_email}} --non-interactive --webroot -w /var/lib/letsencrypt/ -d {{domain}}
- name: configure {{domain}}.conf
template: src=roles/server_native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
template: src=roles/native-docker-reverse-proxy/templates/domain.conf.j2 dest=/etc/nginx/conf.d/{{domain}}.conf
notify: restart nginx
- name: create elasticsearch-sysctl.conf
@@ -24,12 +24,12 @@
state: directory
mode: 0755
- name: git pull server_docker-elk
- name: git pull docker-elk
git:
repo: "https://github.com/kevinveenbirkenbach/server_docker-elk.git"
repo: "https://github.com/kevinveenbirkenbach/docker-elk.git"
dest: "{{docker_elk_compose_path}}"
update: yes
notify: recreate server_docker-elk
notify: recreate docker-elk
register: git_result
ignore_errors: true
@@ -40,20 +40,20 @@
- name: copy docker-compose.yml
template: src=docker-compose.yml.j2 dest={{docker_elk_compose_path}}docker-compose.yml
notify: recreate server_docker-elk
notify: recreate docker-elk
- name: copy elasticsearch.yml
template: src=elasticsearch.yml.j2 dest={{docker_elk_compose_path}}elasticsearch/config/elasticsearch.yml
notify: recreate server_docker-elk
notify: recreate docker-elk
- name: copy kibana.yml
template: src=kibana.yml.j2 dest={{docker_elk_compose_path}}kibana/config/kibana.yml
notify: recreate server_docker-elk
notify: recreate docker-elk
- name: copy logstash.yml
template: src=logstash.yml.j2 dest={{docker_elk_compose_path}}logstash/config/logstash.yml
notify: recreate server_docker-elk
notify: recreate docker-elk
- name: copy logstash.conf
template: src=logstash.conf.j2 dest={{docker_elk_compose_path}}logstash/pipeline/logstash.conf
notify: recreate server_docker-elk
notify: recreate docker-elk

View File

@@ -2,7 +2,7 @@
## Default Elasticsearch configuration from Elasticsearch base image.
## https://github.com/elastic/elasticsearch/blob/master/distribution/docker/src/docker/config/elasticsearch.yml
#
cluster.name: "server_docker-cluster"
cluster.name: "docker-cluster"
network.host: 0.0.0.0
## X-Pack settings