mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-11 17:44:19 -05:00
update docs for periphery systemd --user install
This commit is contained in:
@@ -25,9 +25,6 @@ Will install to paths:
|
||||
|
||||
*Note*. The user running periphery must be a member of the docker group, in order to use the docker cli without sudo.
|
||||
|
||||
*Note*. Ensure the user running periphery has write access to the configure [repo directory](https://github.com/mbecker20/komodo/blob/main/config/periphery.config.toml).
|
||||
This allows periphery to clone repos and write compose files.
|
||||
|
||||
```sh
|
||||
curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-periphery.py | python3 - --user
|
||||
```
|
||||
@@ -35,4 +32,17 @@ curl -sSL https://raw.githubusercontent.com/mbecker20/komodo/main/scripts/setup-
|
||||
Will install to paths:
|
||||
- periphery (binary) -> `$HOME/.local/bin`
|
||||
- periphery.service -> `$HOME/.config/systemd/user/periphery.service`
|
||||
- periphery.config.toml -> `$HOME/.config/komodo/periphery.config.toml`
|
||||
- periphery.config.toml -> `$HOME/.config/komodo/periphery.config.toml`
|
||||
|
||||
*Note*. Ensure the user running periphery has write permissions to the configured folders `repo_dir`, `stack_dir`, and `ssl_key_file` / `ssl_cert_file` parent folder.
|
||||
This allows periphery to clone repos, write compose files, and generate ssl certs.
|
||||
|
||||
For example in `periphery.config.toml`, running under `ubuntu` user:
|
||||
```toml
|
||||
repo_dir = "/home/ubuntu/.komodo/repos"
|
||||
stack_dir = "/home/ubuntu/.komodo/stacks"
|
||||
|
||||
ssl_enabled = true
|
||||
ssl_key_file = "/home/ubuntu/.komodo/ssl/key.pem"
|
||||
ssl_cert_file = "/home/ubuntu/.komodo/ssl/cert.pem"
|
||||
```
|
||||
Reference in New Issue
Block a user