Изменил(а) на 'setup_leanote,sh'
This commit is contained in:
parent
fa62b6ba9a
commit
c3a139b243
@ -28,7 +28,7 @@ chmod +x /leanote/bin/run.sh
|
||||
|
||||
# Get leanote 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
|
||||
#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
|
||||
apt install -y nginx
|
||||
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
|
||||
Loading…
x
Reference in New Issue
Block a user