Skip to content

Commit 8a1f00a

Browse files
authored
Merge pull request #565 from bilalrao12/master
fix for using 'homer_user' as ldap groupname
2 parents 2707c44 + df33982 commit 8a1f00a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/docker-entrypoint.d/1

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TSHARK_GID=${TSHARK_GID:-0}
1717
if [ -f /usr/local/homer/etc/webapp_config.json ]; then
1818

1919
if [ -n "$DB_HOST" ]; then sed -i "s/homer_db_host/${DB_HOST}/g" /usr/local/homer/etc/webapp_config.json; fi
20-
if [ -n "$DB_USER" ]; then sed -i "s/homer_user/${DB_USER}/g" /usr/local/homer/etc/webapp_config.json; fi
20+
if [ -n "$DB_USER" ]; then sed -i "s/homer_db_user/${DB_USER}/g" /usr/local/homer/etc/webapp_config.json; fi
2121
if [ -n "$DB_PASS" ]; then sed -i "s/homer_password/${DB_PASS}/g" /usr/local/homer/etc/webapp_config.json; fi
2222
if [ -n "$DB_KEEPALIVE" ]; then sed -i "s/homer_db_keepalive/${DB_KEEPALIVE}/g" /usr/local/homer/etc/webapp_config.json; fi
2323
if [ -n "$DB_HOMER_CONFIG" ]; then sed -i "s/homer_config/${DB_HOMER_CONFIG}/g" /usr/local/homer/etc/webapp_config.json; fi

docker/webapp_config.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"database_data": {
33
"local": {
44
"node": "LocalNode",
5-
"user": "homer_user",
5+
"user": "homer_db_user",
66
"pass": "homer_password",
77
"name": "homer_data",
88
"host": "homer_db_host"
99
}
1010
},
1111
"database_config": {
12-
"user": "homer_user",
12+
"user": "homer_db_user",
1313
"pass": "homer_password",
1414
"name": "homer_config",
1515
"host": "homer_db_host",

0 commit comments

Comments
 (0)