aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-08-01 17:16:40 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-08-01 17:16:40 +0300
commitf1303e0a704be55ac6d992cf2dad5f27a9c34c3a (patch)
treee431401f4079ed0b8b9a116394586d6a8fe1f047 /README.md
parentREADME: update (diff)
downloadcgitize-f1303e0a704be55ac6d992cf2dad5f27a9c34c3a.tar.gz
cgitize-f1303e0a704be55ac6d992cf2dad5f27a9c34c3a.zip
change default "output_dir"
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 44727f6..83b49a9 100644
--- a/README.md
+++ b/README.md
@@ -32,14 +32,14 @@ tokens/application passwords).
The image is **egortensin/cgitize**.
The container reads the config from /etc/cgitize/cgitize.toml and writes the
-repositories to /var/tmp/cgitize/output.
+repositories to /var/tmp/cgitize.
If SSH is required, the socket should be mapped to
/var/run/cgitize/ssh-agent.sock.
docker run -it --rm \
-v "/path/to/config:/etc/cgitize:ro" \
-v "$SSH_AUTH_SOCK:/var/run/cgitize/ssh-agent.sock" \
- -v "/path/to/output:/var/tmp/cgitize/output" \
+ -v "/path/to/output:/var/tmp/cgitize" \
egortensin/cgitize
The container executes cgitize inside a cron job.