Skip to content

Commit d9f35d5

Browse files
rootroot
authored andcommitted
Bot Updating README from template
1 parent 0048fde commit d9f35d5

File tree

1 file changed

+121
-10
lines changed

1 file changed

+121
-10
lines changed

README.md

Lines changed: 121 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,126 @@
1-
[linuxserverurl]: https://linuxserver.io
2-
[forumurl]: https://forum.linuxserver.io
3-
[ircurl]: https://www.linuxserver.io/irc/
4-
[podcasturl]: https://www.linuxserver.io/podcast/
1+
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)
52

6-
[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)][linuxserverurl]
3+
The [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring :-
74

8-
## This is a Container in active development by the [LinuxServer.io][linuxserverurl] team and is not recommended for use by the general public.
5+
* regular and timely application updates
6+
* easy user mappings (PGID, PUID)
7+
* custom base image with s6 overlay
8+
* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth
9+
* regular security updates
910

10-
If you want to comment\contribute on this container , are looking for support on any of our other work , or are curious about us in general, check out the following.
11+
Find us at:
12+
* [Discord](https://discord.gg/YWrKVTn) - realtime support / chat with the community and the team.
13+
* [IRC](https://irc.linuxserver.io) - on freenode at `#linuxserver.io`. Our primary support channel is Discord.
14+
* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!
15+
* [Podcast](https://podcast.linuxserver.io) - on hiatus. Coming back soon (late 2018).
1116

12-
* [forum.linuxserver.io][forumurl]
13-
* [IRC][ircurl] on freenode at `#linuxserver.io`
14-
* [Podcast][podcasturl] covers everything to do with getting the most from your Linux Server plus a focus on all things Docker and containerisation!
17+
# PSA: Changes are happening
1518

19+
From August 2018 onwards, Linuxserver are in the midst of switching to a new CI platform which will enable us to build and release multiple architectures under a single repo. To this end, existing images for `arm64` and `armhf` builds are being deprecated. They are replaced by a manifest file in each container which automatically pulls the correct image for your architecture. You'll also be able to pull based on a specific architecture tag.
20+
21+
TLDR: Multi-arch support is changing from multiple repos to one repo per container image.
22+
23+
# [linuxserver/ldap-auth](https://github.com/linuxserver/docker-ldap-auth)
24+
[![](https://images.microbadger.com/badges/version/linuxserver/ldap-auth.svg)](https://microbadger.com/images/linuxserverldap-auth "Get your own version badge on microbadger.com")
25+
[![](https://images.microbadger.com/badges/image/linuxserver/ldap-auth.svg)](https://microbadger.com/images/linuxserver/ldap-auth "Get your own version badge on microbadger.com")
26+
![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/ldap-auth.svg)
27+
![Docker Stars](https://img.shields.io/docker/stars/linuxserver/ldap-auth.svg)
28+
29+
[Ldap-auth](https://github.com/nginxinc/nginx-ldap-auth) software is for authenticating users who request protected resources from servers proxied by nginx. It includes a daemon (ldap-auth) that communicates with an authentication server, and a webserver daemon that generates an authentication cookie based on the user’s credentials. The daemons are written in Python for use with a Lightweight Directory Access Protocol (LDAP) authentication server (OpenLDAP or Microsoft Windows Active Directory 2003 and 2012).
30+
31+
[![ldap-auth](https://jumpcloud.com/wp-content/uploads/2016/12/LDAP_Logo-1420591101.jpg)](https://github.com/nginxinc/nginx-ldap-auth)
32+
33+
## Supported Architectures
34+
35+
Our images support multiple architectures such as `X86-64`, `arm64` and `armhf`. We utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md#manifest-list).
36+
37+
The architectures supported by this image are:
38+
39+
| Architecture | Tag |
40+
| :----: | --- |
41+
| X86-64 | tbc |
42+
| arm64 | tbc |
43+
| armhf | tbc |
44+
45+
## Usage
46+
47+
Here are some example snippets to help you get started creating a container.
48+
49+
### docker
50+
51+
```
52+
docker create \
53+
--name=ldap-auth \
54+
-e PUID=1001 \
55+
-e PGID=1001 \
56+
-p 8888:8888 \
57+
-p 9000:9000 \
58+
linuxserver/ldap-auth
59+
```
60+
61+
62+
### docker-compose
63+
64+
Compatible with docker-compose v2 schemas.
65+
66+
```
67+
---
68+
version: "2"
69+
services:
70+
ldap-auth:
71+
image: linuxserver/ldap-auth
72+
container_name: ldap-auth
73+
environment:
74+
- PUID=1001
75+
- PGID=1001
76+
ports:
77+
- 8888:8888
78+
- 9000:9000
79+
mem_limit: 4096m
80+
restart: unless-stopped
81+
```
82+
83+
## Parameters
84+
85+
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
86+
87+
| Parameter | Function |
88+
| :----: | --- |
89+
| `-p 8888` | the port for ldap auth daemon |
90+
| `-p 9000` | the port for ldap login page |
91+
| `-e PUID=1001` | for UserID - see below for explanation |
92+
| `-e PGID=1001` | for GroupID - see below for explanation |
93+
94+
## User / Group Identifiers
95+
96+
When using volumes (`-v` flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.
97+
98+
Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.
99+
100+
In this instance `PUID=1001` and `PGID=1001`, to find yours use `id user` as below:
101+
102+
```
103+
$ id username
104+
uid=1001(dockeruser) gid=1001(dockergroup) groups=1001(dockergroup)
105+
```
106+
107+
&nbsp;
108+
## Application Setup
109+
110+
- This container itself does not have any settings and it relies on the pertinent information passed through in http headers of incoming requests. Make sure that your webserver is set up with the right config.
111+
- Here's a sample config: [nginx-ldap-auth.conf](https://github.com/nginxinc/nginx-ldap-auth/blob/master/nginx-ldap-auth.conf).
112+
113+
114+
115+
## Support Info
116+
117+
* Shell access whilst the container is running: `docker exec -it ldap-auth /bin/bash`
118+
* To monitor the logs of the container in realtime: `docker logs -f ldap-auth`
119+
* container version number
120+
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' ldap-auth`
121+
* image version number
122+
* `docker inspect -f '{{ index .Config.Labels "build_version" }}' linuxserver/ldap-auth`
123+
124+
## Versions
125+
126+
* **11.08.18:** - Initial release.

0 commit comments

Comments
 (0)