[odrs-web/oscp] Replace env variables names



commit 0caf1072c2713ec8ea929a22fdcdc35e14f31813
Author: Andrea Veri <averi redhat com>
Date:   Tue Nov 13 13:54:57 2018 +0100

    Replace env variables names

 entrypoint.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/entrypoint.sh b/entrypoint.sh
index 36663fa..7f44840 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 sed -i "s/replace_odrs_secret/${ODRS_REVIEW_SECRET}/" /etc/httpd/conf.d/000-default.conf
-sed -i "s/replace_odrs_username/${ODRS_DB_USER}/" /etc/httpd/conf.d/000-default.conf
-sed -i "s/replace_odrs_password/${ODRS_DB_PASSWORD}/" /etc/httpd/conf.d/000-default.conf
-sed -i "s/replace_odrs_host/${ODRS_DB_HOST}/" /etc/httpd/conf.d/000-default.conf
+sed -i "s/replace_odrs_username/${MYSQL_DB_USER}/" /etc/httpd/conf.d/000-default.conf
+sed -i "s/replace_odrs_password/${MYSQL_DB_PASSWORD}/" /etc/httpd/conf.d/000-default.conf
+sed -i "s/replace_odrs_host/${MYSQL_DB_HOST}/" /etc/httpd/conf.d/000-default.conf
 
 exec /usr/bin/run-httpd


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]