Skip to content

Repository for docker-compose files and setup for my docker server

License

Notifications You must be signed in to change notification settings

fredriki/docker-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-server

Repository for docker-compose files and setup for my docker server.

The goal is to be able to run install.sh on a new machine and have everything setup automatically.

New users should only be added to lldap, as well as access via groups.

Certificate generation is not included in this, but one wildcard certificate for the domain is expected to be provided where certbot usually puts them.

Installation

Start with running install.sh

Components

Scripts

install.sh

Super simple thing asking for domain-name

  • It will install dependencies.
  • It will create a common.env file for containers installations script to use further on as docker .env-file.
  • It will run install.sh in each folder if it exists.

Some parts will ask for a admin password for different services...

manage.sh

Helper script for fixing certs, starting/stopping/updating all the containers.

create_template_service.sh

To ease creating new services.

Proxy

Traefik as reverse-proxy and a docker-socket proxy.

Auth

LLDAP combined with Authelia. Use with traefik middleware.

Note: One must customize auth/authelia/access_rules.yml to suit one needs

Wiki

Wikmd as simple wiki, is nice.

Cloud

Nextcloud, some customization to get everything to work is needed.

TODO

  • LLDAP
  • Authelia
  • Traefik
  • LLDAP and Authelia talking
  • Authelia as middleware auth
  • Wiki
  • Testing adding wiki group in lldap and have that as access rule
  • Testing install.sh and the whole shabang as it is
  • Password manager with LDAP connection (Vaultwarden?)
  • Nextcloud LDAP automatic integration during install
  • Email server
  • Add media stack
  • Add linux iso downloader to media stack
  • Add VPN for iso downloader
  • Enable update of common.env and .env in install-scripts
  • Add homepage

Style notes

One can see in the create_template_service.sh how naming in general is.

Important to differantiate services and container/images implementing them.

For example, wiki is the service, wikmd is the image implementing the service. Folder is therefore named wiki, but wikmd data is in folder named wikmd.

About

Repository for docker-compose files and setup for my docker server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages