Skip to content

Commit

Permalink
Configuring the run directory
Browse files Browse the repository at this point in the history
  • Loading branch information
djmb committed Aug 28, 2023
1 parent 99798a5 commit 12c3b3d
Showing 1 changed file with 12 additions and 1 deletion.
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

0 comments on commit 12c3b3d

Please sign in to comment.