REDIS_AUDIT_STREAM_MAXLEN
(Optional) Maximum length for Redis audit stream. Default: 100REDIS_STREAM_MAXLEN
(Optional) Maximum length for Redis stream. Default: 100
- DB_SSL: boolean value, to enable TSL config, by default is false.
- DB_SSL_CACERTFILE: path of the certification authority cert file "/path/to/ca.crt".
- DB_SSL_VERSION: available versions are tlsv1.2, tlsv1.3 by default is tlsv1.2.
- DB_SSL_CLIENT_CERT: Path to the client SSL certificate file.
- DB_SSL_CLIENT_KEY: Path to the client SSL private key file.
- DB_SSL_VERIFY: This option specifies whether certificates are to be verified.
To start your Phoenix server:
- Install dependencies with
mix deps.get
- Create and migrate your database with
mix ecto.create && mix ecto.migrate
- Start Phoenix endpoint with
mix phx.server
Now you can visit localhost:4014
from your browser.
Ready to run in production? Please check our deployment guides.
- BULK_PAGE_SIZE_INGESTS: default 1000
- The aggregation variables are defined as follows: AGG_<AGGREGATION_NAME>_SIZE
These environment variables will add the Authentication header on each request
with value Basic <ES_USERNAME>:<ES_PASSWORD>
- ES_USERNAME: Username
- ES_PASSWORD: Password
This environment variables will add the Authentication header on each request
with value ApiKey <ES_API_KEY>
- ES_API_KEY: ApiKey
These environment variables will configure CA Certificates for HTTPS requests
- ES_SSL: [true | false] required to activate following options
- ES_SSL_CACERTFILE: (Optional) Indicate the cacert file path. If not set, a certfile will be automatically generated by
:certifi.cacertfile()
- ES_SSL_VERIFY: (Optional) [verify_peer | verify_none] defaults to
verify_none
These environment variables control the force merge operation for ElasticSearch indices, which optimizes index performance by merging segments.
-
ES_WAIT_FOR_COMPLETION
:- Purpose: Controls whether the force merge operation should wait for completion before returning
- Default:
nil
(no wait) - Usage: When set to
true
, the operation will wait until the force merge is complete before returning. Whenfalse
ornil
, the operation returns immediately and runs asynchronously - Performance: Setting to
true
ensures the operation is complete but may cause longer response times
-
ES_MAX_NUM_SEGMENTS
:- Purpose: Specifies the maximum number of segments to merge down to
- Default:
5
- Usage: Controls how aggressively the force merge operation consolidates segments. Lower values result in fewer, larger segments
- Performance: Fewer segments generally improve search performance but may increase memory usage during the merge operation
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix