Docker Enviroment Variables

For those of you that run docker.

I am trying to start a container with the standard projections running.

I have tried “True”, “true”, 1 for the “START_STANDARD_PROJECTIONS” value.

Any help would be appreciated.

Here is the command and the output.

$ docker run --name eventstore-node -it -p 2113:2113 -p 1113:1113 -e START_STANDARD_PROJECTIONS=true eventstore/eventstore --restart=always

NOTE:

THIS CONTAINER IS FOR DEVELOPMENT PURPOSES ONLY AND SHOULD NOT BE USED IN PRODUCTION

[00001,01,17:34:50.756]

ES VERSION: 4.0.0.4 (HEAD/8e91bd4b440bf5e0294f9e6b690f1645a563f558, Mon, 20 Feb 2017 16:24:49 +0000)

[00001,01,17:34:50.772] OS: Linux (Unix 4.9.12.0)

[00001,01,17:34:50.776] RUNTIME: 4.6.2 (Stable 4.6.2.7/08fd525) (64-bit)

[00001,01,17:34:50.776] GC: 2 GENERATIONS

[00001,01,17:34:50.776] LOGS: /var/log/eventstore

[00001,01,17:34:50.784] MODIFIED OPTIONS:

INT IP: 0.0.0.0 (Config File)

EXT IP: 0.0.0.0 (Config File)

INT HTTP PREFIXES: http://*:2112/ (Config File)

EXT HTTP PREFIXES: http://*:2113/ (Config File)

ADD INTERFACE PREFIXES: false (Config File)

RUN PROJECTIONS: All (Config File)

DEFAULT OPTIONS:

CONFIG: /etc/eventstore/eventstore.conf ()

HELP: False ()

VERSION: False ()

LOG: /var/log/eventstore ()

DEFINES: ()

WHAT IF: False ()

START STANDARD PROJECTIONS: False ()

DISABLE HTTP CACHING: False ()

MONO MIN THREADPOOL SIZE: 10 ()

INT HTTP PORT: 2112 ()

EXT HTTP PORT: 2113 ()

INT TCP PORT: 1112 ()

INT SECURE TCP PORT: 0 ()

EXT TCP PORT: 1113 ()

EXT SECURE TCP PORT ADVERTISE AS: 0 ()

EXT SECURE TCP PORT: 0 ()

EXT IP ADVERTISE AS: ()

EXT TCP PORT ADVERTISE AS: 0 ()

EXT HTTP PORT ADVERTISE AS: 0 ()

INT IP ADVERTISE AS: ()

INT SECURE TCP PORT ADVERTISE AS: 0 ()

``

I believe, you need to write: EVENTSTORE_START_STANDARD_PROJECTIONS

It is stated in the docs here: http://docs.geteventstore.com/server/3.9.0/command-line-arguments/, although a bit hidden in the headers for command line args:

Environment (all prefixed with EVENTSTORE_)

That was it!

I missed it.

Thanks.

Glad to help :slight_smile: