diff --git a/mod/recordings/Dockerfile b/mod/recordings/Dockerfile index b142af1..ed793d7 100644 --- a/mod/recordings/Dockerfile +++ b/mod/recordings/Dockerfile @@ -77,9 +77,8 @@ 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 -COPY log-collector.py /log-collector.py -COPY entrypoint.sh /entrypoint.sh -RUN chmod +x /log-collector.py /entrypoint.sh +ADD log-collector.py /log-collector.py +ADD entrypoint.sh /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 60d4350..8651e81 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_4/" .env +sed -i "s/POSTGRES_PASSWORD=.*/POSTGRES_PASSWORD=$RANDOM_3/" .env echo "--------------------------------------------------" echo "configuration file .env got successfully created!"