You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 days ago | |
---|---|---|
caddy | 3 months ago | |
dockerbuild_caddy | 6 months ago | |
dockerbuild_ghost | 1 year ago | |
dockerbuild_gitea | 1 year ago | |
dockerbuild_goatcounter | 3 weeks ago | |
external-service | 1 year ago | |
ghost-theme | 3 weeks ago | |
gitea/data/gitea/conf | 2 months ago | |
grafana-backup | 1 year ago | |
greenhouse | 7 months ago | |
loki | 7 months ago | |
telegraf | 1 year ago | |
.dockerignore | 1 year ago | |
.gitignore | 8 months ago | |
Dockerfile | 3 months ago | |
README.md | 1 year ago | |
build-docker.sh | 3 weeks ago | |
docker-compose.yml | 3 days ago | |
go.mod | 1 year ago | |
go.sum | 1 year ago | |
main.go | 3 weeks ago |
README.md
sequentialread-caddy-config
This application talks to the docker socket to get info about containers and then generates a Caddy config, which it posts to Caddy 2 HTTP server (by Matt Holt, of Let's Encrypt fame).
Yes I realize https://github.com/lucaslorentz/caddy-docker-proxy already does this :P
I am making my own instead for a couple reasons:
- I'm going to give it access to the docker socket so I'd prefer to know the code well.
- I already created most of it for the ingress controller part of rootsystem.
Example docker labels to configure a container to be served publically:
sequentialread-80-public-port: 443
sequentialread-80-public-protocol: https
sequentialread-80-public-hostnames: "example.com,www.example.com"
sequentialread-80-container-protocol: http
how to generate favicon for ghost
sudo apt install icoutils
icotool -c -o test.ico sequentialread_favicon.png logo48.png logo70.png logo128.png