# Configuration This page will show you how to edit the system configuration file of Riptide (also refered to as "user configuration file"). ## Initial configuration If you haven't it done yet, create your system configuration file using `riptide config-edit-user`. This will open an editor. After creating the configuration file using this command, Riptide CLI is ready to use. ## Proxy server configuration The configuration for the Proxy Server is described in the chapter {doc}`proxy`. ## Repository configuration The `repos` key contains a list of repositories, that are used by Riptide to look up components of projects. By default the community repository is the only repository in this list. Please see {doc}`repos`` for more info. ## Engine configuration The entry under `engine` defines which container engine implementation is used. Currently only `docker` is supported. ## Editing the configuration file manually You can use the command `riptide config-edit-user` to edit the configuration file. Alternatively you can also directly edit the file "[\](project:#config-files)/config.yml" in your favorite editor. ## Resolving hostnames and hosts-file :::{note} If you used the Linux installation script or are using NixOS, this is already taken care of. ::: Riptide uses a proxy server to route traffic to your projects. This proxy server uses hostnames to route traffic. These hostnames need to be routable to your local machine. In order to make this easy for you, Riptide (by default) automatically updates the /etc/hosts file (may have a [different path under different OSes]()). However in order to do so, **your local user needs write access to this file**. To change permissions under Linux, you can use the following command: ``` sudo setfacl -m u::rw /etc/hosts ``` Replace `` with your username. If you don't want to change permissions to the file, you can instead add these entries manually. If Riptide can't update the file, it will prompt you with a message, whenever it needs updating: ```ansi-console ╭─ Warning ────────────────────────────────────────────────────────────────────────────╮ │ Could not update the hosts-file (/etc/hosts) to configure proxy server routing. │ │ > Give your user permission to edit this file, to remove this warning. │ │ > If you wish to manually add the entries instead, add the following entries to │ │ /etc/hosts: │ │ 127.0.0.1 riptide.local │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────╯ ``` ### Manual routing Alternatively you can disable the automatic update of the hosts file by setting `update_hosts_file` to `false` in the configuration file. In this case, you need to make sure, all project URLs are routed correctly via DNS. Assuming you set the proxy server to run under `riptide.local` the following hostnames must be routable to your local machine using DNS: - `riptide.local` - `*.riptide.local`