From 1246c5d599e3b0c864c9bf49dc2545e6c989b86f Mon Sep 17 00:00:00 2001 From: Andy Wick Date: Sat, 11 Jan 2025 16:01:10 -0500 Subject: [PATCH] improve default env help and example --- _wiki/docker.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_wiki/docker.md b/_wiki/docker.md index 7dfbdb0..dbddaa2 100644 --- a/_wiki/docker.md +++ b/_wiki/docker.md @@ -49,7 +49,7 @@ You can configure Arkime containers using three primary methods: * Mount this file into the container to override default settings. * Some complex config file sections require this method. 2. Environment Variables: -* Set environment variables to configure the container. (`ARKIME_
__=`) +* Set environment variables to configure the container. (`ARKIME>__=` for default section or `ARKIME_
__=`) * These variables take precedence over configuration file settings. 3. Command-Line Options: * Use the `-o` command-line option to specify additional configuration options. (`-o
.=`) @@ -143,6 +143,8 @@ services: image: ghcr.io/arkime/arkime/arkime:v5-latest network_mode: "host" command: /opt/arkime/bin/docker.sh capture --update-geo + environment: + - ARKIME__elasticsearch=https://example.com:9200 volumes: - /opt/arkime/raw:/opt/arkime/raw - /opt/arkime/etc:/opt/arkime/etc @@ -151,6 +153,8 @@ services: image: ghcr.io/arkime/arkime/arkime:v5-latest network_mode: "host" command: /opt/arkime/bin/docker.sh viewer + environment: + - ARKIME__elasticsearch=https://example.com:9200 volumes: - /opt/arkime/raw:/opt/arkime/raw - /opt/arkime/etc:/opt/arkime/etc