Skip to content

Bernhard---H/caddy-for-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-Compose + Caddy Reverse-Proxy

Installation

Start by cloning this repo into an empty folder for your future docker compose projects.

The cloning-target may NOT be named caddy. Next to the folder containing this repository, there may not be a folder named caddy.

You will need to place your local configuration inside the folder named caddy next to your clone target folder (outside of this git repo). I personally prefere to clone this repo into the hidden folder /opt/apps/.caddy, but thats really up to personal preference.

# create an empty dir for your projects / apps
mkdir -p /opt/apps
# add your first (hidden) project to get started with this caddy setup
git clone git@github.com:Bernhard---H/caddy-config.git /opt/apps/.caddy

Initialization (post-clone)

After the installation, you have to manually call the post-clone script, as git does not seem to (yet) support such a feature:

# change directory to your caddy-config repo:
#cd /opt/apps/.caddy
# start the post-clone script:
./script-utils/init-post-clone.sh

About

caddy reverse proxy setup template for a single host of multiple docker compose projects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors