selfhosted-traefik/README.md

1.3 KiB

selfhosted-traefik

This is a setup/guide/repo for self hosting services like nextcloud, gitea etc. to avoid using SaaSS I have no control over. I use Traefik and docker-compose to self hoste services. Inspired by: https://github.com/awesome-selfhosted/awesome-selfhosted

Installation/Setup guide (WIP)

  1. Create a user named compute on your server. compute needs a home directory.
  2. Create a services directory in the home directory of compute with mkdir service.
  3. navigat into services with cd services.
  4. Clone this git into services with git clone https://gitea.sporada.eu/sporada/selfhosted-traefik.git.
  5. For every service copy the live.env.tpl to live.env file and edit it accordingly. 'cp live.env.tpl live.env'
  6. Navigate into the traefik with cd traefikfolder and start traefik withdocker-compose --env-file live.env up`
  7. Could be that you have to create some networks manually before starting everything.
  8. Navigate into the other service folders and start every service with docker-compose --env-file live.env up after additional setup steps have been completed. (See netxt step!)
  9. Every serveice hase an additional README.md where the specific setup steps for the service is explained. Like creating the .env file etc. Follow those steps and then start the service as said above.