2022-05-17 17:09:10 +08:00
|
|
|
# global
|
|
|
|
region: "0"
|
|
|
|
|
|
|
|
common_install_docker: True
|
|
|
|
|
|
|
|
nginx_vhost_mode: "reverse"
|
|
|
|
nginx_reverse_proxy_port: "9001"
|
|
|
|
nginx_appname: "ELK"
|
|
|
|
|
2022-06-30 14:14:30 +08:00
|
|
|
init_docker:
|
2022-05-17 17:09:10 +08:00
|
|
|
elk:
|
2022-06-30 15:44:57 +08:00
|
|
|
admin_username: elastic
|
|
|
|
admin_password: "elastic123"
|
2022-06-30 14:14:30 +08:00
|
|
|
service_after: "docker.service"
|
|
|
|
compose_path: "/data/apps/elk/docker-compose.yml"
|
2022-06-30 14:43:44 +08:00
|
|
|
compose_commands:
|
2022-05-17 17:09:10 +08:00
|
|
|
- sudo sed -i "s/elastic123/$new_password/g" `grep 'elastic123' /data/apps/elk/.env -rnl`
|
|
|
|
- sudo sed -i "s/elastic123/$new_password/g" `grep 'elastic123' /data/apps/elk/src/logstash/pipeline/logstash.conf -rnl`
|