File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-3}"
1111var_ram=" ${var_ram:- 4096} "
1212var_disk=" ${var_disk:- 8} "
1313var_os=" ${var_os:- debian} "
14- var_version=" ${var_version:- 12 } "
14+ var_version=" ${var_version:- 13 } "
1515
1616header_info " $APP "
1717variables
Original file line number Diff line number Diff line change 2323 "ram" : 4096 ,
2424 "hdd" : 8 ,
2525 "os" : " debian" ,
26- "version" : " 12 "
26+ "version" : " 13 "
2727 }
2828 }
2929 ],
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ network_check
1414update_os
1515
1616msg_info " Installing Dependencies"
17- $STD apt-get install -y \
17+ $STD apt install -y \
1818 redis \
1919 jq \
2020 make
@@ -48,6 +48,8 @@ mkdir data
4848sed -i -e " s|APP_SECRET=.*|APP_SECRET=$( openssl rand -base64 32 | tr -dc ' a-zA-Z0-9' | cut -c1-32) |" \
4949 -e " s|DATABASE_URL=.*|DATABASE_URL=postgres://$DB_USER :$DB_PASS @localhost:5432/$DB_NAME |" \
5050 -e " s|FILE_UPLOAD_SIZE_LIMIT=.*|FILE_UPLOAD_SIZE_LIMIT=50mb|" \
51+ -e " s|DRAWIO_URL=.*|DRAWIO_URL=https://embed.diagrams.net|" \
52+ -e " s|DISABLE_TELEMETRY=.*|DISABLE_TELEMETRY=true|" \
5153 /opt/docmost/.env
5254export NODE_OPTIONS=" --max-old-space-size=2048"
5355$STD pnpm install
@@ -76,6 +78,7 @@ motd_ssh
7678customize
7779
7880msg_info " Cleaning up"
79- $STD apt-get -y autoremove
80- $STD apt-get -y autoclean
81+ $STD apt -y autoremove
82+ $STD apt -y autoclean
83+ $STD apt -y clean
8184msg_ok " Cleaned"
You can’t perform that action at this time.
0 commit comments