mirror of
https://github.com/atareao/self-hosted.git
synced 2024-07-06 22:12:15 +02:00
add caddy installation instrutions
This commit is contained in:
parent
9664196434
commit
ffe1f820cd
9
caddy/README.md
Normal file
9
caddy/README.md
Normal 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
|
||||||
|
```
|
@ -5,6 +5,18 @@ git clone https://github.com/atareao/self-hosted.git
|
|||||||
cd self-hosted/nginx
|
cd self-hosted/nginx
|
||||||
mkdir html
|
mkdir html
|
||||||
cp sample.env .env
|
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 -f docker-compose.yml -f docker-compose.traefik.yml up -d
|
||||||
docker-compose logs -f
|
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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user