Kaynağa Gözat

add smb_domian

Vadim Surkov 5 yıl önce
ebeveyn
işleme
8a78ba79b2
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      docker-entrypoint.sh

+ 1 - 0
docker-entrypoint.sh

@@ -34,6 +34,7 @@ echo "net.spy.memcached.level = ${DEBUG}" >> /opt/tomcat/conf/logging.properties
 if [[ ! -z $SMB_USERNAME ]]; then
   sed -i "s/auth-enable: false/auth-enable: true/" /etc/web-laboratory/application.conf
   sed -i "s/username: \"\"/username: \"${SMB_USERNAME}\"/" /etc/web-laboratory/application.conf
+  sed -i "s/domain: \"\"/domain: \"${SMB_DOMAIN}\"/" /etc/web-laboratory/application.conf
   sed -i "s/password: \"\"/password: \"${SMB_PASSWORD}\"/" /etc/web-laboratory/application.conf
 fi