• Emanuele Aina's avatar
    config: Add arcrc key to explicitly set the arcrc path · 387645ad
    Emanuele Aina authored
    The current code relies on looking in the user HOME for the .arcrc file,
    with the Dockerfile making it a symlink to /app/secrets/arcrc
    
    This is problematic because:
    * it spreads configuration outside of /app/secrets/
    * the Dockerfile creates the symlink in /root/, which dows not work when
      running the service as a non-root user
    
    To avoid that, let users explicitly configure an arcrc file path, which
    can be pointed to /app/secrets/arcrc directly.
    
    The Dockerfile still carries the ~/.arcrc -> /app/secrets/arcrc symlink
    to avoid any breakage until the new `arcrc` configuration key is set
    in production.
    Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
    387645ad
Name
Last commit
Last update
..
arcrc Loading commit data...
config.yaml Loading commit data...
token Loading commit data...