self-hosted/traefik/README.md
Lorenzo Carbonell c0c626aea6
acme
2023-10-13 19:40:53 +02:00

43 lines
606 B
Markdown

# Installation
Prerequisites,
```bash
sudo apt install apache2-utils
```
```
git clone https://github.com/atareao/self-hosted.git
cd self-hosted/traefik
```
Change `FQDN` for your server in `.env`,
```bash
cp sample.env .env
```
Change permissions for `acme.json`,
```bash
chmod 600 ./config/acme.json
```
Generate credentials for your user,
```bash
htpasswd -nb usuario contraseña >> config/users.txt
```
Change the email for letsencrypt,
```bash
sed -i "s/tu@correo.es/<tu-correo>/g" config/traefik.yml
```
```bash
docker network create proxy
docker-compose up -d
docker-compose logs -f
```