2021-03-25 13:02:37 +00:00
|
|
|
# selfhosted-traefik
|
|
|
|
|
2021-03-25 13:50:47 +00:00
|
|
|
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 with a home directory.
|
|
|
|
2. Create a services directory in computes home directory with `mkdir service`
|
|
|
|
3. `cd services`
|
|
|
|
4. Clone this git into services. `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.
|
|
|
|
6. Navigate into the traefik folder and start traefik with `docker-compose --env-file live.env up`
|
|
|
|
7. Navigate into the other service folders and start every service with `docker-compose --env-file live.env up`
|