docker based auto-configurator for Caddy 2 & sequentialread.com docker-compose (mirror of https://git.sequentialread.com/forest/sequentialread-caddy-config)
Go to file
forest 3fb9f5e849 back to influxdb 1.8, the v2 change did not fix the bug :( 2023-12-17 15:27:45 -06:00
caddy key / ssh key files 2023-11-07 18:58:31 -06:00
dockerbuild_caddy add caddy dockerfile to build docker image of sequentialread caddy fork 2021-11-26 18:35:51 +00:00
dockerbuild_ghost reorganizating and adding goatcounter stuff 2021-03-09 15:54:03 -06:00
dockerbuild_gitea reorganizating and adding goatcounter stuff 2021-03-09 15:54:03 -06:00
dockerbuild_goatcounter back to influxdb 1.8, the v2 change did not fix the bug :( 2023-12-17 15:27:45 -06:00
external-service fixing nil pointer in external service 2021-03-15 18:14:02 -05:00
ghost-theme ghost theme fixes / updates 2023-11-07 18:58:20 -06:00
gitea/data/gitea/conf add gitea config file with redacted secrets 2022-03-10 01:15:35 +00:00
grafana-backup backup grafana dashboard 2021-03-15 19:26:23 -05:00
greenhouse updating greenhouse config 2021-10-20 16:47:32 -05:00
loki greenhouse telemetry up and running roughly 2021-10-18 09:04:00 -05:00
telegraf back to influxdb 1.8, the v2 change did not fix the bug :( 2023-12-17 15:27:45 -06:00
.dockerignore .env handling 2021-03-01 22:31:03 -06:00
.gitignore ignore ghost theme zip file 2021-09-24 17:11:42 -05:00
Dockerfile goatcounter upgrade, gts stuff, and gitea robots.txt 2022-02-09 15:12:23 -06:00
README.md indentation 2023-01-28 14:43:38 -06:00
build-docker.sh fix multiple IP addresses occasionally causing config resets 2022-08-21 17:07:48 -05:00
dir_perms.txt working on influxdbv2 2023-11-07 20:19:57 -06:00
docker-compose.yml back to influxdb 1.8, the v2 change did not fix the bug :( 2023-12-17 15:27:45 -06:00
go.mod fixing more goatcounter issues 2021-03-11 14:31:09 -06:00
go.sum fixing more goatcounter issues 2021-03-11 14:31:09 -06:00
main.go back to influxdb 1.8, the v2 change did not fix the bug :( 2023-12-17 15:27:45 -06:00

README.md

sequentialread-caddy-config

This repository contains two things,

  1. The docker-compose.yml file which holds all the services I run on my personal website.
  2. An application that talks to the docker socket to get info about containers and then generates a Caddy config, which it posts to Caddy 2 HTTP server.

I am making my own instead for a couple reasons:

  1. I don't like the template-based solutions because they are harder to debug. One typically cannot put breakpoints or print statements inside a large complicated template file.
  2. I had already written code that generates Caddy configs for some of my other projects. This is the code that eventually became greenhouse-daemon.

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