Skip to content

Instantly share code, notes, and snippets.

@staylorx
Created February 17, 2021 19:39
Show Gist options
  • Save staylorx/104766062f7114c6979257b7d27ee26b to your computer and use it in GitHub Desktop.
Save staylorx/104766062f7114c6979257b7d27ee26b to your computer and use it in GitHub Desktop.
Starting up graylog v4 using podman
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