diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-27 09:10:44 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-27 09:10:44 +0300 |
commit | 722acb80f61063a776ca4fb59ed15a12edd6fa07 (patch) | |
tree | f552b03107e4ff7f3bb4649eb12842f68c2d6538 /README.md | |
parent | README: update (diff) | |
download | cgitize-722acb80f61063a776ca4fb59ed15a12edd6fa07.tar.gz cgitize-722acb80f61063a776ca4fb59ed15a12edd6fa07.zip |
docker: change default paths
Diffstat (limited to '')
-rw-r--r-- | README.md | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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. |