mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 15:58:48 +08:00
parent
3648f92a05
commit
83737300f5
33
apps/openldap/2.6.8/data.yml
Normal file
33
apps/openldap/2.6.8/data.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
additionalProperties:
|
||||||
|
formFields:
|
||||||
|
- envKey: LDAP_ROOT
|
||||||
|
default: dc=example,dc=org
|
||||||
|
labelEn: LDAP baseDN
|
||||||
|
labelZh: LDAP baseDN
|
||||||
|
random: false
|
||||||
|
required: true
|
||||||
|
type: text
|
||||||
|
- envKey: LDAP_ADMIN_USERNAME
|
||||||
|
default: admin
|
||||||
|
labelEn: LDAP admin username
|
||||||
|
labelZh: LDAP 管理员用户名
|
||||||
|
random: false
|
||||||
|
required: true
|
||||||
|
rule: paramCommon
|
||||||
|
type: text
|
||||||
|
- envKey: LDAP_ADMIN_PASSWORD
|
||||||
|
default: adminpassword
|
||||||
|
labelEn: LDAP admin password
|
||||||
|
labelZh: LDAP 管理员密码
|
||||||
|
random: true
|
||||||
|
required: true
|
||||||
|
rule: paramComplexity
|
||||||
|
type: password
|
||||||
|
- envKey: LDAP_PORT
|
||||||
|
default: 1389
|
||||||
|
edit: true
|
||||||
|
labelEn: LDAP listening port
|
||||||
|
labelZh: LDAP 监听端口
|
||||||
|
required: true
|
||||||
|
rule: paramPort
|
||||||
|
type: number
|
21
apps/openldap/2.6.8/docker-compose.yml
Normal file
21
apps/openldap/2.6.8/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
openldap:
|
||||||
|
image: bitnami/openldap:2.6.8
|
||||||
|
container_name: ${CONTAINER_NAME}
|
||||||
|
restart: always
|
||||||
|
networks:
|
||||||
|
- 1panel-network
|
||||||
|
ports:
|
||||||
|
- ${LDAP_PORT}:1389
|
||||||
|
environment:
|
||||||
|
LDAP_ROOT: ${LDAP_ROOT}
|
||||||
|
LDAP_ADMIN_USERNAME: ${LDAP_ADMIN_USERNAME}
|
||||||
|
LDAP_ADMIN_PASSWORD: ${LDAP_ADMIN_PASSWORD}
|
||||||
|
volumes:
|
||||||
|
- './data:/bitnami/openldap'
|
||||||
|
labels:
|
||||||
|
createdBy: "Apps"
|
||||||
|
networks:
|
||||||
|
1panel-network:
|
||||||
|
external: true
|
17
apps/openldap/2.6.8/scripts/init.sh
Normal file
17
apps/openldap/2.6.8/scripts/init.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIR="./data/"
|
||||||
|
|
||||||
|
if [ -d "$DIR" ]; then
|
||||||
|
echo "目录 $DIR 已存在"
|
||||||
|
else
|
||||||
|
echo "目录 $DIR 不存在,正在创建..."
|
||||||
|
mkdir -p "$DIR"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "目录 $DIR 创建成功"
|
||||||
|
else
|
||||||
|
echo "目录 $DIR 创建失败"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
chown -R 1001:1001 $DIR
|
17
apps/openldap/2.6.8/scripts/upgrade.sh
Normal file
17
apps/openldap/2.6.8/scripts/upgrade.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
DIR="./data/"
|
||||||
|
|
||||||
|
if [ -d "$DIR" ]; then
|
||||||
|
echo "目录 $DIR 已存在"
|
||||||
|
else
|
||||||
|
echo "目录 $DIR 不存在,正在创建..."
|
||||||
|
mkdir -p "$DIR"
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "目录 $DIR 创建成功"
|
||||||
|
else
|
||||||
|
echo "目录 $DIR 创建失败"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
chown -R 1001:1001 $DIR
|
26
apps/openldap/README.md
Normal file
26
apps/openldap/README.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# OpenLDAP
|
||||||
|
|
||||||
|
[OpenLDAP](https://openldap.org/) 是轻型目录访问协议(Lightweight Directory Access Protocol,LDAP)的自由和开源的实现。
|
||||||
|
|
||||||
|
该应用使用了 Bitnami 构建的 OpenLDAP Docker 镜像,通过该应用可以快速部署 OpenLDAP 服务。
|
||||||
|
|
||||||
|
## 相关链接
|
||||||
|
|
||||||
|
- OpenLDAP 官网:<https://openldap.org/>
|
||||||
|
- Bitnami OpenLDAP 构建仓库:<https://github.com/bitnami/containers/tree/main/bitnami/openldap>
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
Copyright © 2024 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries.
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
<http://www.apache.org/licenses/LICENSE-2.0>
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
18
apps/openldap/data.yml
Normal file
18
apps/openldap/data.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: OpenLDAP
|
||||||
|
tags:
|
||||||
|
- 数据库
|
||||||
|
title: OpenLDAP
|
||||||
|
description: OpenLDAP 是一个开源的 LDAP(Lightweight Directory Access Protocol) 服务软件。
|
||||||
|
additionalProperties:
|
||||||
|
key: openldap
|
||||||
|
name: OpenLDAP
|
||||||
|
tags:
|
||||||
|
- Database
|
||||||
|
shortDescZh: OpenLDAP 是一个开源的 LDAP(Lightweight Directory Access Protocol) 服务软件。
|
||||||
|
shortDescEn: OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol.
|
||||||
|
type: database
|
||||||
|
crossVersionUpdate: true
|
||||||
|
limit: 0
|
||||||
|
recommend: 0
|
||||||
|
website: https://openldap.org/
|
||||||
|
document: https://hub.docker.com/r/bitnami/openldap
|
BIN
apps/openldap/logo.png
Normal file
BIN
apps/openldap/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.0 KiB |
Loading…
Reference in New Issue
Block a user