aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-27 09:10:44 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-27 09:10:44 +0300
commit722acb80f61063a776ca4fb59ed15a12edd6fa07 (patch)
treef552b03107e4ff7f3bb4649eb12842f68c2d6538 /README.md
parentREADME: update (diff)
downloadcgitize-722acb80f61063a776ca4fb59ed15a12edd6fa07.tar.gz
cgitize-722acb80f61063a776ca4fb59ed15a12edd6fa07.zip
docker: change default paths
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 5881964..b07c6b1 100644
--- a/README.md
+++ b/README.md
@@ -37,14 +37,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.
-If SSH is required, map the socket to /var/run/cgitize/ssh-agent.sock.
-
- docker run -it --rm \
- -v "/path-to/config-dir:/etc/cgitize:ro" \
- -v "$SSH_AUTH_SOCK:/var/run/cgitize/ssh-agent.sock" \
- -v "/path-to/output-dir:/var/tmp/cgitize" \
- egortensin/cgitize:2
+repositories to /mnt/cgitize.
+If SSH is required, map the socket to /ssh-agent.sock.
+
+ docker run -it --rm \
+ -v "/path-to/config-dir:/etc/cgitize:ro" \
+ -v "$SSH_AUTH_SOCK:/ssh-agent.sock" \
+ -v "/path-to/output-dir:/mnt/cgitize" \
+ egortensin/cgitize:master
The container executes cgitize inside a cron job.
The `SCHEDULE` environment variable controls the period between cgitize runs.