Configuration

For the initial setup, we recommend modifying the config file directly since the dashboard might not be accessible before Memento is properly configured.

Via config file / command line arguments

Please refer to config.sample.yml for a list of available configuration parameters.

All the options in the config file have a corresponding flag represented by the the tree elements concatenated with a . (dot), for example:

db:
  host: localhost
# transforms into "--db.host=localhost"

feature:
  lag:
    enabled: true
# transforms into "--feature.lag.enabled=true"

The following configuration options are only available through ENV variables.

# redis password
REDIS_PASSWORD

# database password
PG_PASSWORD

Via dashboard

Note: Memento has to be running in order to access the dashboard & the config-management feature should be enabled.

  1. Go to http://localhost:3000/config (by default; if you configured a different port, use that one)

  2. Modify whatever you need and click "Save & restart"

  3. Memento will exit in order to apply changes

    1. if you're running with the default docker-compose, it will restart automatically

    2. if you're manually running Memento via the executable, you'll have to start it again

  4. Done

Last updated