mirror of
https://github.com/atareao/self-hosted.git
synced 2024-09-21 00:00:09 +02:00
23 lines
404 B
Markdown
23 lines
404 B
Markdown
# Installation
|
|
|
|
```
|
|
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
|
|
```
|