mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-02 17:08:38 +08:00
Update main.yml
This commit is contained in:
parent
0b691dcb1e
commit
f62fa63ffa
@ -7,10 +7,12 @@ nginx_vhost_mode: "reverse"
|
|||||||
nginx_reverse_proxy_port: "9001"
|
nginx_reverse_proxy_port: "9001"
|
||||||
nginx_appname: "ELK"
|
nginx_appname: "ELK"
|
||||||
|
|
||||||
init_application:
|
init_docker:
|
||||||
elk:
|
elk:
|
||||||
username: elastic
|
username: elastic
|
||||||
password: "elastic123"
|
password: "elastic123"
|
||||||
|
service_after: "docker.service"
|
||||||
|
compose_path: "/data/apps/elk/docker-compose.yml"
|
||||||
commands:
|
commands:
|
||||||
- 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/.env -rnl`
|
||||||
- sudo sed -i "s/elastic123/$new_password/g" `grep 'elastic123' /data/apps/elk/src/logstash/pipeline/logstash.conf -rnl`
|
- sudo sed -i "s/elastic123/$new_password/g" `grep 'elastic123' /data/apps/elk/src/logstash/pipeline/logstash.conf -rnl`
|
||||||
|
Loading…
Reference in New Issue
Block a user