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.
		
		
		
    
    
		
    
				
    
		
		
		
			| 
				
					
						
							 | 
			4 days ago | |
|---|---|---|
| caddy | 2 years ago | |
| dockerbuild_caddy | 4 years ago | |
| dockerbuild_ghost | 5 years ago | |
| dockerbuild_gitea | 5 years ago | |
| dockerbuild_goatcounter | 1 year ago | |
| external-service | 5 years ago | |
| ghost-theme | 4 days ago | |
| gitea/data/gitea/conf | 4 years ago | |
| grafana-backup | 5 years ago | |
| greenhouse | 4 years ago | |
| loki | 4 years ago | |
| telegraf | 2 years ago | |
| .dockerignore | 5 years ago | |
| .gitignore | 4 years ago | |
| Dockerfile | 7 months ago | |
| README.md | 3 years ago | |
| build-docker.sh | 7 months ago | |
| dir_perms.txt | 2 years ago | |
| docker-compose.yml | 4 days ago | |
| go.mod | 5 years ago | |
| go.sum | 5 years ago | |
| main.go | 7 months ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	sequentialread-caddy-config
This repository contains two things,
- The 
docker-compose.ymlfile which holds all the services I run on my personal website. - 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.
- This is similar to https://traefik.io/ or https://github.com/nginx-proxy/nginx-proxy
 - 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 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.
 - 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