Skip to content

Commit

Permalink
Merge pull request #565 from bilalrao12/master
Browse files Browse the repository at this point in the history
fix for using 'homer_user' as ldap groupname
  • Loading branch information
adubovikov authored Oct 11, 2024
2 parents 2707c44 + df33982 commit 8a1f00a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/docker-entrypoint.d/1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ TSHARK_GID=${TSHARK_GID:-0}
if [ -f /usr/local/homer/etc/webapp_config.json ]; then

if [ -n "$DB_HOST" ]; then sed -i "s/homer_db_host/${DB_HOST}/g" /usr/local/homer/etc/webapp_config.json; fi
if [ -n "$DB_USER" ]; then sed -i "s/homer_user/${DB_USER}/g" /usr/local/homer/etc/webapp_config.json; fi
if [ -n "$DB_USER" ]; then sed -i "s/homer_db_user/${DB_USER}/g" /usr/local/homer/etc/webapp_config.json; fi
if [ -n "$DB_PASS" ]; then sed -i "s/homer_password/${DB_PASS}/g" /usr/local/homer/etc/webapp_config.json; fi
if [ -n "$DB_KEEPALIVE" ]; then sed -i "s/homer_db_keepalive/${DB_KEEPALIVE}/g" /usr/local/homer/etc/webapp_config.json; fi
if [ -n "$DB_HOMER_CONFIG" ]; then sed -i "s/homer_config/${DB_HOMER_CONFIG}/g" /usr/local/homer/etc/webapp_config.json; fi
Expand Down
4 changes: 2 additions & 2 deletions docker/webapp_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"database_data": {
"local": {
"node": "LocalNode",
"user": "homer_user",
"user": "homer_db_user",
"pass": "homer_password",
"name": "homer_data",
"host": "homer_db_host"
}
},
"database_config": {
"user": "homer_user",
"user": "homer_db_user",
"pass": "homer_password",
"name": "homer_config",
"host": "homer_db_host",
Expand Down

0 comments on commit 8a1f00a

Please sign in to comment.