The Service uses the following environment variables:
VOTE_PORT
: Port on which the service listen on. The default is9013
.MESSAGE_BUS_HOST
: Host of the redis server. The default islocalhost
.MESSAGE_BUS_PORT
: Port of the redis server. The default is6379
.OPENSLIDES_DEVELOPMENT
: If set, the service uses the default secrets. The default isfalse
.DATABASE_PASSWORD_FILE
: Postgres Password. The default is/run/secrets/postgres_password
.DATABASE_USER
: Postgres Database. The default isopenslides
.DATABASE_HOST
: Postgres Host. The default islocalhost
.DATABASE_PORT
: Postgres Post. The default is5432
.DATABASE_NAME
: Postgres User. The default isopenslides
.AUTH_PROTOCOL
: Protocol of the auth service. The default ishttp
.AUTH_HOST
: Host of the auth service. The default islocalhost
.AUTH_PORT
: Port of the auth service. The default is9004
.AUTH_FAKE
: Use user id 1 for every request. Ignores all other auth environment variables. The default isfalse
.AUTH_TOKEN_KEY_FILE
: Key to sign the JWT auth tocken. The default is/run/secrets/auth_token_key
.AUTH_COOKIE_KEY_FILE
: Key to sign the JWT auth cookie. The default is/run/secrets/auth_cookie_key
.CACHE_HOST
: Host of the redis used for the fast backend. The default islocalhost
.CACHE_PORT
: Port of the redis used for the fast backend. The default is6379
.VOTE_DATABASE_PASSWORD_FILE
: Password of the postgres database used for long polls. The default is/run/secrets/postgres_password
.VOTE_DATABASE_USER
: Databasename of the postgres database used for long polls. The default isopenslides
.VOTE_DATABASE_HOST
: Host of the postgres database used for long polls. The default islocalhost
.VOTE_DATABASE_PORT
: Port of the postgres database used for long polls. The default is5432
.VOTE_DATABASE_NAME
: Name of the database to save long running polls. The default isopenslides
.VOTE_SINGLE_INSTANCE
: More performance if the serice is not scalled horizontally. The default isfalse
.