-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Story #13302: Added ability to select Vitam's components to deploy in…
… legacy mode
- Loading branch information
1 parent
4cfb5f7
commit 823f2f7
Showing
8 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[Unit] | ||
Description=filebeat | ||
Documentation=http://www.elastic.co | ||
Wants=network-online.target | ||
After=network-online.target | ||
|
||
[Service] | ||
Restart=always | ||
Environment="CONTAINER_NAME=filebeat" | ||
ExecStartPre=-/usr/bin/docker rm -f filebeat | ||
ExecStart=/usr/bin/docker run --rm \ | ||
--name filebeat \ | ||
--user=root \ | ||
--volume="/etc/filebeat/filebeat.yml:/usr/share/filebeat/filebeat.yml:rw" \ | ||
--volume="/etc/filebeat/modules.d:/usr/share/filebeat/modules.d:rw" \ | ||
--volume="/etc/filebeat/inputs.d:/usr/share/filebeat/inputs.d:rw" \ | ||
--volume="/vitam:/vitam:rw" \ | ||
--volume="/vitamui:/vitamui:rw" \ | ||
--volume="/var/lib/docker/containers:/var/lib/docker/containers:ro" \ | ||
--volume="/var/run/docker.sock:/var/run/docker.sock:ro" \ | ||
{{ container_repository.registry_url }}/vitam-external/elastic/filebeat:{{ filebeat_version }} \ | ||
-e --strict.perms=false | ||
|
||
ExecStop=/usr/bin/docker stop filebeat | ||
|
||
[Install] | ||
WantedBy=multi-user.target |