add caddy installation instrutions

This commit is contained in:
Lorenzo 2022-02-05 09:05:24 +01:00
parent 9664196434
commit ffe1f820cd
2 changed files with 21 additions and 0 deletions

9
caddy/README.md Normal file
View File

@ -0,0 +1,9 @@
# Installation
```
git clone https://github.com/atareao/self-hosted.git
cd self-hosted/caddy
docker network create caddy
docker-compose up -d
docker-compose logs -f
```

View File

@ -5,6 +5,18 @@ git clone https://github.com/atareao/self-hosted.git
cd self-hosted/nginx
mkdir html
cp sample.env .env
```
If you want to work with Traefik,
```
docker-compose -f docker-compose.yml -f docker-compose.traefik.yml up -d
docker-compose logs -f
```
If you want to work with Caddy,
```
docker-compose -f docker-compose.yml -f docker-compose.caddy.yml up -d
docker-compose logs -f
```