mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-11-21 23:53:11 +01:00
parent
e6ff3c7411
commit
5fbefe5a0b
@ -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
|
@ -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!"
|
||||
|
Loading…
Reference in New Issue
Block a user