Изменил(а) на 'setup_leanote,sh'

This commit is contained in:
dimon 2022-04-01 16:54:01 +00:00
parent fa62b6ba9a
commit c3a139b243

View File

@ -28,7 +28,7 @@ chmod +x /leanote/bin/run.sh
# Get leanote app conf # Get leanote app conf
rm /leanote/conf/app.conf rm /leanote/conf/app.conf
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-leanote/-/raw/master/app.conf -O /leanote/conf/app.conf wget https://git.dfosd.synology.me/docker/ubuntu-leanote/raw/branch/master/app.conf -O /leanote/conf/app.conf
# Modify app conf # Modify app conf
#64-bit random app.secret #64-bit random app.secret
@ -43,4 +43,4 @@ sed -i "s/MONGO_DB/$MONGO_DB/g" /leanote/conf/app.conf
# Install nginx and get conf # Install nginx and get conf
apt install -y nginx apt install -y nginx
rm /etc/nginx/sites-enabled/default rm /etc/nginx/sites-enabled/default
wget https://gitlab.dfosd.synology.me/docker-images/ubuntu-leanote/-/raw/master/nginx_ssl.conf -O /etc/nginx/sites-enabled/nginx_ssl.conf wget https://git.dfosd.synology.me/docker/ubuntu-leanote/raw/branch/master/nginx_ssl.conf -O /etc/nginx/sites-enabled/nginx_ssl.conf