]> git.p6c8.net - jirafeau_mojo42.git/blob - docker/docker-compose-examples/ldap/README.md
[FEATURE] add LDAP authentication support for uploaders
[jirafeau_mojo42.git] / docker / docker-compose-examples / ldap / README.md
1 # Docker-compose example with LDAP
2
3 This example help users (and developpers) to setup a LDAP deployment with Jirafeau.
4
5 # Build Jirafeau's image
6
7 You can skip this step if you are not developping Jirafeau.
8
9 In Jirafeau's project folder:
10 ```
11 docker build . -t mojo42/jirafeau:dev
12 ```
13
14 # Customize docker-compose.yml
15
16 Open [docker-compose.yml](docker-compose.yml) file and tweak it as needed.
17 You can change Jirafeau's image to an official release if you are not developping Jirafeau.
18
19 # Run docker compose
20
21 ```
22 docker-compose up -d
23 docker-compose logs -f
24 ```
25
26 # Testing
27
28 You can now connect to [127.0.0.1:8080](http://127.0.0.1:8080/) to access Jirafeau instance and [127.0.0.1:8090](http://127.0.0.1:8090/) to access PHP LDAP Admin.
29
30 You can login on PHP LDAP admin with those default credentials:
31 - login DN: `cn=admin,dc=jirafeau,dc=net`
32 - Password: `admin`
33
34 Once connected on PHP LDAP Admin, you can import [bootstrap.jirafeau.ldif](bootstrap.jirafeau.ldif) to inject a test user.
35 Once imported, you should be able to login on Jirafeau with those credentials:
36 - Login: `jerome`
37 - Password: `password`
38

patrick-canterino.de