-
-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 调整dockercompose等内容,以适配新的构建方式 (#327)
- Loading branch information
Showing
9 changed files
with
78 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
root = "." | ||
testdata_dir = "testdata" | ||
tmp_dir = "tmp" | ||
|
||
[build] | ||
args_bin = [] | ||
bin = "./tmp/main" | ||
cmd = "go build -o ./tmp/main ." | ||
delay = 1000 | ||
exclude_dir = ["assets", "tmp", "vendor", "testdata"] | ||
exclude_file = [] | ||
exclude_regex = ["_test.go"] | ||
exclude_unchanged = false | ||
follow_symlink = false | ||
full_bin = "" | ||
include_dir = [] | ||
include_ext = ["go", "tpl", "tmpl", "html"] | ||
include_file = [] | ||
kill_delay = "0s" | ||
log = "build-errors.log" | ||
poll = false | ||
poll_interval = 0 | ||
post_cmd = [] | ||
pre_cmd = [] | ||
rerun = false | ||
rerun_delay = 500 | ||
send_interrupt = false | ||
stop_on_error = false | ||
|
||
[color] | ||
app = "" | ||
build = "yellow" | ||
main = "magenta" | ||
runner = "green" | ||
watcher = "cyan" | ||
|
||
[log] | ||
main_only = false | ||
time = false | ||
|
||
[misc] | ||
clean_on_exit = false | ||
|
||
[screen] | ||
clear_on_rebuild = false | ||
keep_scroll = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM registry.cn-hangzhou.aliyuncs.com/ali_eryajf/openldap:1.4.0 | ||
|
||
LABEL maintainer https://github.com/eryajf | ||
|
||
ADD init.ldif /container/service/slapd/assets/config/bootstrap/ldif/custom/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
docker build --no-cache . -t registry.cn-hangzhou.aliyuncs.com/ali_eryajf/openldap:1.4.1 | ||
docker push registry.cn-hangzhou.aliyuncs.com/ali_eryajf/openldap:1.4.1 |
13 changes: 7 additions & 6 deletions
13
docs/docker-compose/config/init.ldif → docs/custom-openldap-dockerfile/init.ldif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
dn: ou=people,dc=eryajf,dc=net | ||
dn: ou=people,{{ LDAP_BASE_DN }} | ||
ou: people | ||
description: 用户根目录 | ||
objectClass: organizationalUnit | ||
|
||
dn: ou=dingtalkroot,dc=eryajf,dc=net | ||
dn: ou=dingtalkroot,{{ LDAP_BASE_DN }} | ||
ou: dingtalkroot | ||
description: 钉钉根部门 | ||
objectClass: top | ||
objectClass: organizationalUnit | ||
|
||
dn: ou=wecomroot,dc=eryajf,dc=net | ||
dn: ou=wecomroot,{{ LDAP_BASE_DN }} | ||
ou: wecomroot | ||
description: 企业微信根部门 | ||
objectClass: top | ||
objectClass: organizationalUnit | ||
|
||
dn: ou=feishuroot,dc=eryajf,dc=net | ||
dn: ou=feishuroot,{{ LDAP_BASE_DN }} | ||
ou: feishuroot | ||
description: 飞书根部门 | ||
objectClass: top | ||
objectClass: organizationalUnit | ||
|
||
dn: cn=group,dc=eryajf,dc=net | ||
dn: cn=group,{{ LDAP_BASE_DN }} | ||
cn: group | ||
description: 默认分组 | ||
objectClass: top | ||
objectClass: groupOfUniqueNames | ||
objectClass: groupOfUniqueNames | ||
uniqueMember: cn=admin,{{ LDAP_BASE_DN }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters