From 722acb80f61063a776ca4fb59ed15a12edd6fa07 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 27 Mar 2022 09:10:44 +0300 Subject: docker: change default paths --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'README.md') 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. -- cgit v1.2.3