This is an example project uses Docker to run a Caddy server as a reverse proxy for a Node.js application.
- Docker
- Docker Compose
Make sure you have Docker and Docker Compose installed on your machine.
This project uses Docker to run a Caddy server as a reverse proxy for a Node.js application.
Make sure you have Docker and Docker Compose installed on your machine.
Clone the Repository
git clone https://github.com/dhawansolanki/docker-caddy-boilerplate.git
cd https://github.com/dhawansolanki/docker-caddy-boilerplate.git
Create Docker Volumes
(Ensure that the caddy_data volume exists:)
docker volume create caddy_data
Build and Run the Containers
docker-compose up --build
To stop the containers
docker-compose down