Created
February 17, 2021 19:39
-
-
Save staylorx/104766062f7114c6979257b7d27ee26b to your computer and use it in GitHub Desktop.
Starting up graylog v4 using podman
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
sudo podman pod create --name graylog-pod \ | |
-p 9000:9000 -p 12201:12201 -p 1514:1514 | |
sudo podman run \ | |
-d --restart=always --pod=graylog-pod \ | |
--name=mongo mongo:4.2 | |
sudo podman run \ | |
-d --restart=always --pod=graylog-pod \ | |
-e "http.host=0.0.0.0" \ | |
-e "discovery.type=single-node" \ | |
-e "ES_JAVA_OPTS=-Xms512m -Xmx512m" \ | |
--name=elasticsearch docker.elastic.co/elasticsearch/elasticsearch-oss:7.10.0 | |
sudo podman run \ | |
-d --restart=always --pod=graylog-pod \ | |
-e GRAYLOG_HTTP_EXTERNAL_URI="http://192.168.1.193:9000/" \ | |
--name=graylog graylog/graylog:4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment