Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring the run directory #20

Merged
merged 2 commits into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion _docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,17 @@ SOME_SECRET=<%= `bw get notes 123123123-1232-4224-222f-234234234234 --session #{

Then everyone deploying the app can run `kamal envify` and kamal will generate `.env`

## Configuring the run directory

Kamal needs to create files on the host for locking and audit logs.

By default these will be created in the `.kamal` subdirectory of the default SSH directory.

This can be changed with

```yaml
run_directory: /var/run/kamal
```

## Using another registry than Docker Hub

Expand Down Expand Up @@ -208,7 +219,7 @@ volumes:

Directories act in a similar way to volumes except it will create a corresponding directory on the host before mounting the volume:

e.g.
e.g.

```yaml
service: kamal-demo
Expand Down