91 Commits

Author SHA1 Message Date
thespad
17961c4c24
Only clear cache, sessions, views on container update 2025-01-15 10:04:46 +00:00
thespad
d283e53018
Fix appkey gen with new symlinks 2024-12-22 21:59:37 +00:00
thespad
fdf34906e5
Use /tmp as we need it anyway 2024-12-17 17:58:35 +00:00
thespad
476e0463b1
Rebase to 3.21, support read-only operation 2024-12-17 17:55:20 +00:00
thespad
04589bb8ae
Attempt to remove any and all ambiguity from the readme instructions. 2024-11-20 20:31:19 +00:00
thespad
c84517086c
Fix appkey check + add helper 2024-10-14 16:12:46 +01:00
thespad
4cb4610150
Simplify init, prefer envs, make fewer assumptions 2024-10-12 19:28:51 +01:00
thespad
8b6b85d1a3
Make migrations executable 2024-08-13 15:15:45 +01:00
Eric Nemchik
1c26d28291
Delete root/defaults/nginx/site-confs/default.conf.sample
redundant to base
2024-07-16 20:44:27 -05:00
thespad
223740182f
Use wildcard listener 2024-05-29 13:58:02 +01:00
thespad
1078bd4dfb
Update http2 wording 2024-05-28 20:11:12 +01:00
thespad
40fdb1058e
Rebase to 3.20 2024-05-28 20:01:03 +01:00
Eric Nemchik
4f569dfdf8
Cleanup default site conf
Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-12-25 14:16:11 -06:00
Eric Nemchik
a6801f27f0
only run migration if conf exists
redirect stderr to /dev/null

Signed-off-by: Eric Nemchik <eric@nemchik.com>
2023-11-25 10:42:40 -06:00
TheSpad
78d685a31f
Symlink logs and backups outside of www 2023-11-24 14:11:04 +00:00
TheSpad
7759d52c25
Symlink all logs to avoid defer error on new install 2023-11-24 13:54:02 +00:00
aptalca
e0f1e7cf13
further sanitize sed replace 2023-10-31 17:35:24 -04:00
TheSpad
869d618156
Add async action support 2023-09-04 09:22:10 +01:00
Dan Brown
607fecb0bf
Added requirements for bookstack-system-cli
Added required ZIP extension and mariadb-client package to provide
mysqldump which is required by the CLI for backing up.
2023-05-06 02:20:57 +01:00
Eric Nemchik
d97fc18699 Move ssl.conf include to default.conf 2023-04-13 11:04:38 -05:00
Eric Nemchik
0b903bdfef Fix dependencies 2023-01-22 14:48:04 -06:00
Eric Nemchik
288cb8d25b Remove -tmp logic 2023-01-20 18:18:44 -06:00
Eric Nemchik
ebeadd336f Rebase to alpine 3.17 with php8.1 2023-01-19 20:18:45 -06:00
aptalca
5889c9e4ae wrap .env values in quotes 2023-01-16 22:04:26 -05:00
Eric Nemchik
0752ff3f75 Format shell scripts 2023-01-15 09:48:22 -06:00
aptalca
d3460595f8 fix db password setting (sed escape &) 2023-01-05 15:53:47 -05:00
Adam
3d02d092f2
Merge branch 'master' into db-check 2022-12-23 10:16:17 +00:00
TheSpad
351bb78bd2
Support user-supplied db port for startup check 2022-12-23 10:15:29 +00:00
Tho Ho
e2bd737026
sed and grep to support .env.sample upstream comments with # 2022-12-23 00:27:42 +08:00
Tho Ho
987b111e04
Update root/etc/cont-init.d/50-config
Avoid grep -E, change to regex

Co-authored-by: Eric Nemchik <eric@nemchik.com>
2022-12-22 22:12:55 +08:00
TheSpad
1b04bcb2c0
Update test init string 2022-10-17 16:46:11 +01:00
TheSpad
697ce2a9f6
Cleanup db check so it doesn't spam the console 2022-10-17 16:43:46 +01:00
Tho Ho
3b2550bfe2
support ipv4|[ipv6]|domain:port; fix Alpine grep P
(cherry picked from commit 1fde0ad70e72c73e8062f4a2d299d2cda9a46dc6)
2022-10-12 03:53:24 +08:00
Eric Nemchik
16c3c51494
Rework logic to account for ipv6 (#1)
Also, always set host and port
2022-10-12 03:52:42 +08:00
Tho Ho
ab7571658d
Merge branch 'master' into improve-nc-mysql-host-port
# Conflicts:
#	root/etc/cont-init.d/50-config
2022-10-11 16:19:38 +08:00
driz
d3858977d7
Update 50-config 2022-10-10 07:57:58 -04:00
Tho Ho
10f9699fff
Add DB_HOST= to .env if previous version not have 2022-10-10 15:48:57 +08:00
Tho Ho
5fa1132792
Improve grep and seq matching 2022-10-10 14:30:21 +08:00
Tho Ho
71750e16a3
Support DB_PORT 2022-10-09 02:48:57 +08:00
Eric Nemchik
06f369e0d8
Update default.conf.sample 2022-10-06 14:46:20 -05:00
Eric Nemchik
b8bd87f083 Add default_server 2022-10-04 16:20:35 -05:00
Tho Ho
9cf173b16b Extract host and port from DB_HOST 2022-09-23 13:56:16 +08:00
Eric Nemchik
a50d975a98 nginx conf tweaks 2022-08-23 09:54:58 -05:00
Eric Nemchik
ed2f423949 Add default location migration 2022-08-20 18:53:43 -05:00
Eric Nemchik
32df06d2ab Use standard nginx.conf from lsio alpine nginx base image 2022-08-20 12:39:27 -05:00
driz
5a5da8d6e7
Update 50-config
improve sed for password
2022-05-30 16:43:33 -04:00
Robert Meredith
38b5546950
Create themes folder in config folder and symlink to it 2021-10-09 17:21:35 +11:00
Alex Phillips
63a61cf818 overlay-fs bug workaround - move to tmp location then move and chown on init 2021-09-09 17:47:38 -04:00
Adam
f6fb87fa47
Merge pull request #101 from Kangie/sed-substitution
Escape special characters in DB_PASS environment variable when substituting with sed
2021-07-09 22:08:49 +01:00
Adam
922d6d1fd7
Parallelise /var/www chown to speed it up
Should help with machines affected by overlay cow bug
2021-07-09 19:40:04 +01:00