Infra Caddy Guy offers a lightweight scripting solution for server management, leveraging Docker and the Caddy Web Server. Tailored for standalone server setups or development environments, it streamlines installation and network configurations, making life easier for those managing infra projects.
A lightweight Server management script set, backend is Docker, Caddy Web Server. Makes the life of the infra guy a little simpler and easier.

The purpose of this script is to simplify the installation process, especially for projects running standalone servers or staging, dev environments.
It may not be suitable for cloud auto-scaling, because I don't really intend to deploy it that way. Implementing auto-scaling requires a higher level of IaC (Infrastructure as Code)
git clone https://github.com/nguyenanhung/infra-caddy-guy.git && cd infra-caddy-guy && ./bin/enable-shortcut
and use it
infra-caddy intro
<container_name>is the name of the container to connect to.
# Connect Caddy Network
docker network connect bear_caddy_net <container_name>
# Disconnect Caddy Network
docker network disconnect bear_caddy_net <container_name>
Add the network name of the Caddy Web Server to your docker-compose.yml file
networks:
# ...
bear_caddy_net:
external: true
# ...
Docker, docker-compose, fzf
Caddy Web Server: sites, reverse proxy, load balancer and basic authentication
Laravel Builder: Start from scratch with Laravel Framework Playbook, select version, worker and anything...
WordPress Builder: Start from scratch with WordPress and choose theme, plugins...
Static Site Server
Node.js Builder: Start from scratch with NestJS Playbook, select version, port and anything...
Node.js Application: Simple and lightweight connect Caddy Web Server with you Node.js Application
PHP Application Routing
Improve security (file, header) of common application: PHP, Node.js, SPA, Static site, Reverse Proxy
... and others packages supporting, can be mentioned as redis, memcached, mongodb, mariadb, mysql,
percona, postgresql, influxdb, rabbitmq, beanstalkd, gearmand, elasticsearch, mailhog, mailpit,
phpmyadmin, adminer, uptime-kuma, n8n, minio
awscli)See the CONTRIBUTING.md guide to get started.
| Name | GitHub | ||
|---|---|---|---|
| Hung Nguyen | dev@nguyenanhung.com | @nguyenanhung | @nguyenanhung |
From 🐼 Bear Family with Love ♥️
No comments yet.
Sign in to be the first to comment.