349 Commits

Author SHA1 Message Date
86f1eef038
make the backup file a parameter 2022-01-14 20:07:25 +01:00
a5bb22335c
fail2ban rule is no longer needed - we server a 404 on vue not over nginx 2022-01-14 19:51:48 +01:00
e48d7e732e
define gzip types 2022-01-14 19:42:46 +01:00
4cf3920f8d
try gzip_proxied any; to gzip proxy results 2022-01-14 19:35:43 +01:00
0f0609bcb8
try enabling gzip 2022-01-14 19:31:12 +01:00
430af1ade6
wildcard match for update page 2022-01-14 19:19:32 +01:00
03350a76fb
removed unused ssl config for nginx 2022-01-14 19:07:36 +01:00
0bd9fed251
different .env include in scripts 2022-01-14 18:50:11 +01:00
90effb41b5
changed syntax again due to shell replacing $variables 2022-01-14 18:49:35 +01:00
543c741cd1
remove drop database - its now included in the dump itself 2022-01-14 11:34:09 +01:00
186c2107e0
restore script 2022-01-14 11:08:16 +01:00
c6491b6504
corrected https 2022-01-14 10:31:13 +01:00
5217b347be
replace all $1 url variables with something meaningfull, since $1 is replaced in scripting 2022-01-14 10:24:47 +01:00
b9bd92a426
backup script 2022-01-14 09:57:06 +01:00
0363f93bd6
cleaned some comments 2022-01-14 09:36:45 +01:00
8bcf4d53c6
backup and log folders 2022-01-14 09:32:36 +01:00
034bc8f739
parameterize hooks template 2022-01-14 09:24:12 +01:00
8053621597
externalize hooks file and generate it 2022-01-14 09:19:20 +01:00
6514219c05
added some todos regarding webhooks 2022-01-14 09:12:53 +01:00
599d810da3
add some comments in .env.dist (deploy) 2022-01-14 09:06:26 +01:00
71c17c19a2
some more adjustments to setup andinstall script 2022-01-13 23:25:20 +01:00
0124fc884b
removed todo 2022-01-13 22:48:41 +01:00
8fcc3b31ad
improved installscript alot
- proper order
- templates for all configs to fill in automatically
2022-01-13 22:34:17 +01:00
4079e6818f
updated setup.md 2022-01-13 22:32:23 +01:00
f3a949f278
new enhanced .env for deployment 2022-01-13 22:30:53 +01:00
601f5de061
remove directory output 2022-01-12 21:21:27 +01:00
8df6fe859b
corrected argument definition for webhook 2022-01-12 21:21:27 +01:00
6dbec1bd26
do not start with --no-treekill, checkout correct branch 2022-01-12 21:21:26 +01:00
670099f765
corrected hook id 2022-01-12 21:21:26 +01:00
7e1a7482ef
webhook debug command 2022-01-12 21:21:26 +01:00
e5955a8067
remove wait time alltogether 2022-01-12 21:21:26 +01:00
df8c6ef8f7
use webhook tool 2022-01-12 21:21:26 +01:00
125857dd1b
saving some time 2022-01-12 21:21:26 +01:00
53c7991a03
fixed exit code to be numeric 2022-01-12 21:21:26 +01:00
45d9d81ae7
readd --no-treekill for debugging 2022-01-12 21:21:26 +01:00
b6f191f157
try exporting things 2022-01-12 21:21:26 +01:00
088d4c0219
fix trailing slash, remove --no-treekill 2022-01-12 21:21:26 +01:00
477d59a3f8
use yarn to change working directory 2022-01-12 21:21:26 +01:00
b7132865a1
exit process after forking, use semicolon instead of && 2022-01-12 21:21:26 +01:00
e1a1af0c8f
use cd infront of pm2 start command 2022-01-12 21:21:26 +01:00
42e23578d4
typo 2022-01-12 21:21:26 +01:00
421d95c611
maybe the pm2 start command is the problem 2022-01-12 21:21:26 +01:00
833c3c4851
use pm2 stop all again 2022-01-12 21:21:26 +01:00
f332bae932
reverted all trys to fix things within the script, use /bin/bash to spawn interpret the script 2022-01-12 21:21:26 +01:00
940e3dd17d
include database update as 1-command 2022-01-12 21:21:26 +01:00
02f519ae9b
try && as connection 2022-01-12 21:21:26 +01:00
c9b4a5257b
removed unused variable 2022-01-12 21:21:26 +01:00
da9e167f55
ecapsulate all cd commands in functions 2022-01-12 21:21:26 +01:00
0cde80312a
comment 2022-01-12 21:21:26 +01:00
c01f684e8c
echo the script and project dor, sleep only 30 sec 2022-01-12 21:21:26 +01:00