Skip to content

yuhr123/caddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caddy

A script for create a Caddy container quickly.

Requirements

  • Linux system using systemd
  • Podman
  • Python 3.6+
  • a domain name
  • a public IP address

Quickstart

  1. Bind your domain name to the public IP.
  2. Create a workspace
mkdir caddy && cd caddy
  1. Download the script
curl -LO https://raw.githubusercontent.com/yuhr123/caddy/main/run.py
  1. Running the script
sudo python3 run.py

The scirpt will build a custom caddy image and create a container with it, and then create a systemd serivce for that container.

  1. Manage your caddy container
# Check status
sudo systemctl status container-caddy

# stop caddy
sudo systemctl stop container-caddy

# restart caddy
sudo systemctl restart container-caddy

About

A python script for init a caddy container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published