diff options
| author | onelin <oscar@nelin.dk> | 2026-04-02 17:39:35 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2026-04-02 17:42:50 +0000 |
| commit | f458a536ac8d732e47a8dce4d92aa2f1b5a2c649 (patch) | |
| tree | 7f1c538d01d55ab5bddb543eb28364dc3d790914 /init.sh | |
| parent | 2489faf7ac22f45ab92545db1216ce8cfa4fae98 (diff) | |
Add compiled cgit 1.3
Also includes:
* Everforest theme
* Automatic last-modified hooks
* Update to icon and logo
Diffstat (limited to 'init.sh')
| -rw-r--r-- | init.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ #!/usr/bin/env sh -set -e +set -xe # Only create a new keypair if one does not exist ! [ -f "$(whoami).pub" ] && ssh-keygen -f $(whoami) -t rsa -b 4096 @@ -14,6 +14,8 @@ read ENTRY_DOMAIN DOMAIN="${ENTRY_DOMAIN:-$DOMAIN}" echo "DOMAIN=${DOMAIN}" >> .env +(cd cgit && magick -background transparent favicon.png -define icon:auto-resize=16,24,32,48,64,72,96,128,256 favicon.ico) + # Build the image, and run initial setup docker-compose build gitolite docker-compose -f docker-compose-setup.yml up -d gitolite |
