Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pkej/homeserver

HomeServer individual docker-compose files. OpenLDAP for user control, traefik2 for routing, authelia for authentication.
https://github.com/pkej/homeserver

acme authelia cloudfare-ddns cloudflare-companion docker docker-compose home-automation home-network home-networking homenetwork homenetworksetup homeserver htpc htpcbeginner letsencrypt mariadb openldap traefik traefik-certs-dumper traefik-docker

Last synced: 8 days ago
JSON representation

HomeServer individual docker-compose files. OpenLDAP for user control, traefik2 for routing, authelia for authentication.

Awesome Lists containing this project

README

        

# Configuring
Running the bin/configure.sh script will make a backup of any existing .env file and create a new one based on the .env-template and information from the current enviornment, user updated files and user input.

## Logged in User
First decide which PGID and PUID to use. If you're running in docker desktop you don't need to do anything.

From the same directory as this README execute this command:
```sh
bin/configure.sh -p PROJECT_NAME
```
## Different User
If you need to use a different user or group you can provide the numeric identifiers via the commandline.

From the same directory as this README execute this command which will give the UID and GID of the user with the login name "USERNAME":
```sh
bin/configure.sh -p PROJECT_NAME -u `id -u USERNAME` -g `id -g USERNAME` -n `id -u -n` -t 'Europe/Oslo'
```

## Files that you can fill in with data
You can create files in the secrets folder and their content will be inserted into the correct variables in the .env file. The reason for doing this is that some docker images accept files as input, while others have to use environment variables.


`traefik_pilot_token`



This token is used to register your traefik instance with your traefik account.



`domainname0`



This is the domain name of the first domain you want to control. You can also create a second-domain and change the 0 to 1. You can, and must, do the same for any other variable ending with 1, even if you use the same accounts for both services. This is simply due to the fact that the free version of cloudflare only allows one domain per user.



`cf_api_key0`



This is the api key used by traefik when connecting to cloudflare for creating encryption keys, etc.



`cf_email0`



This is used by traefik as above



`cf_api_token0`



This is the api key used by traefik when connecting to cloudflare for updating dynamic ip (cf-ddns) and creating subdomains automatically (cf-companion).



`htpasswd`



You need to create a ...



`mariadb_root_password`





``





``





``





``





``





``





# Configuration order
Files in the `secrets` directory will override commandline arguments. Command line arguments will override automatic environment detection.

You will have to create files for most configuration options.