Add caddy-proxy to allow easy access to docker container's caddy executable

Add docker-project-manager.sh which simplifies docker compose up/down usage for projects in /docker
This commit is contained in:
Chris King
2025-01-23 09:07:24 -08:00
commit c6c28b2d69
2 changed files with 83 additions and 0 deletions

3
caddy-proxy Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
# shellcheck disable=SC2046
docker exec -i -w /etc/caddy $(docker ps | grep caddy | awk '{print $1;}') caddy "$@"