Giter Site home page Giter Site logo

pkej / homeserver Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 20 KB

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

Shell 100.00%
docker-compose homeserver openldap traefik cloudflare-companion cloudfare-ddns authelia mariadb traefik-certs-dumper traefik-docker

homeserver's Introduction

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:

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":

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.

homeserver's People

Contributors

pkej avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.