~dricottone/container-images

ref: 2cd08baad5738a20fe7666f768229a28a1461d72 container-images/srht-git-core/README.md -rw-r--r-- 800 bytes
2cd08baaDominic Ricottone Logging stack 1 year, 3 months ago

#srht-git-core

#Build and Deploy

make image

#Tags

  • latest

#Use

Deploy the web server for a sr.ht system's git service.

Used by proxying from nginx(8). The below location should be added to the server configuration for git.example.com.

location / {
    proxy_pass http://localhost:5001;
}

location = /authorize {
    proxy_pass http://localhost:5001;
}

The container needs to be reachable from nginx(8) on port 5001. Consider either using a pod or creating a bridge network. It also needs to have the git repositories mounted to /var/lib/git.

$conman run --detach --name srht-git-core --restart always \
    --mount type=bind,src=/host/path/to/git/repos,dst=/var/lib/git,z \
    registry.intra.dominic-ricottone.com/srht-git-core:latest