Skip to content

Commit

Permalink
improve default env help and example
Browse files Browse the repository at this point in the history
  • Loading branch information
awick committed Jan 11, 2025
1 parent 8defa8a commit 1246c5d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _wiki/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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_<section>__<config>=<value>`)
* Set environment variables to configure the container. (`ARKIME>__<config>=<value>` for default section or `ARKIME_<section>__<config>=<value>`)
* These variables take precedence over configuration file settings.
3. Command-Line Options:
* Use the `-o` command-line option to specify additional configuration options. (`-o <section>.<config>=<value>`)
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1246c5d

Please sign in to comment.