Eryajf fixdocker (#78)
This commit is contained in:
parent
36d71e4ae7
commit
22f12d8ec8
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# 等待依赖项初始化成功
|
||||||
|
/app/wait
|
||||||
|
|
||||||
# 修改配置文件中的连接地址
|
# 修改配置文件中的连接地址
|
||||||
sed -i 's@localhost:389@openldap:389@g' /app/config.yml
|
sed -i 's@localhost:389@openldap:389@g' /app/config.yml
|
||||||
sed -i 's@host: localhost@host: mysql@g' /app/config.yml
|
sed -i 's@host: localhost@host: mysql@g' /app/config.yml
|
||||||
|
|
||||||
# 等待依赖项初始化成功
|
|
||||||
/app/wait
|
|
||||||
|
|
||||||
# 启动服务
|
# 启动服务
|
||||||
/app/go-ldap-admin
|
/app/go-ldap-admin
|
Loading…
Reference in New Issue