From f7aa70753251feb43b0be105d114b5524482f51f Mon Sep 17 00:00:00 2001 From: Sofyan Sugianto Date: Sat, 29 Aug 2020 21:01:30 +0700 Subject: [PATCH] fix typo --- mod/recordings/Dockerfile | 5 +++-- scripts/setup | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mod/recordings/Dockerfile b/mod/recordings/Dockerfile index 630189d8..668b6d68 100644 --- a/mod/recordings/Dockerfile +++ b/mod/recordings/Dockerfile @@ -77,8 +77,9 @@ RUN cd /usr/bin \ RUN groupadd -g 998 bigbluebutton && useradd -m -u 998 -g bigbluebutton bigbluebutton COPY bigbluebutton.yml /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl -ADD log-collector.py /log-collector.py -ADD entrypoint.sh /entrypoint.sh +COPY log-collector.py /log-collector.py +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /log-collector.py /entrypoint.sh ENTRYPOINT dockerize \ -template /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml.tmpl:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml \ /entrypoint.sh \ No newline at end of file diff --git a/scripts/setup b/scripts/setup index d7191953..72a53cd6 100755 --- a/scripts/setup +++ b/scripts/setup @@ -120,7 +120,7 @@ RANDOM_4=$(head /dev/urandom | tr -dc A-Za-z0-9_@ | head -c 24) sed -i "s/SHARED_SECRET=.*/SHARED_SECRET=$RANDOM_1/" .env sed -i "s/ETHERPAD_API_KEY=.*/ETHERPAD_API_KEY=$RANDOM_2/" .env sed -i "s/RAILS_SECRET=.*/RAILS_SECRET=$RANDOM_3/" .env -sed -i "s/POSTGRES_PASSWORD=.*/POSTGRES_PASSWORD=$RANDOM_3/" .env +sed -i "s/POSTGRES_PASSWORD=.*/POSTGRES_PASSWORD=$RANDOM_4/" .env echo "--------------------------------------------------" echo "configuration file .env got successfully created!"