mirror of
https://github.com/atareao/self-hosted.git
synced 2024-06-30 02:55:38 +02:00
.. | ||
acme.json | ||
docker-compose.yml | ||
dynamic.yml | ||
README.md | ||
sample.env | ||
traefik.yml | ||
users.txt |
Installation
Prerequisites,
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
,
cp sample.env .env
Change permissions for acme.json
,
chmod 600 ./config/acme.json
Generate credentials for your user,
htpasswd -nb usuario contraseña >> config/users.txt
Change the email for letsencrypt,
sed -i "s/tu@correo.es/<tu-correo>/g" config/traefik.yml
docker network create proxy
docker-compose up -d
docker-compose logs -f