74 Commits

Author SHA1 Message Date
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
Matt Jolly
1040cdecbb
Escape special characters in DB_PASS environment variable when
substituting with sed

Characters:
  - /
  - \
  - $
  - &
2021-06-29 14:45:54 +10:00
TheSpad
2b230fb5f9 Check for zero length .env on startup 2021-06-07 16:12:00 +01:00
aptalca
ebb7fe7925 make APP_URL required, detect changes 2020-12-17 12:42:35 -05:00
Philip Almueti
608466e6e0 Patching previously added erronous lines by replacing them with empty lines instead. 2020-09-19 15:10:26 -07:00
Philip Almueti
047e84e2d2 Adding appropriate regex from original command 2020-09-19 14:39:56 -07:00
Philip Almueti
a1f703cae8 Resolving php-local.ini mangling 2020-09-19 14:33:45 -07:00
aptalca
8af8464d49 rebase to alpine 3.12, bump php uploads 2020-09-17 16:19:51 -04:00
Kyle Harding
4c6c4234cd
fix substitution of APP_URL when provided
https://github.com/linuxserver/docker-bookstack/issues/58
2020-08-18 10:08:56 -04:00
aptalca
03207d2283 implement shorter test run 2020-01-10 09:49:12 -08:00
thelamer
4f61df3b9a adding working gaurd and ci run concept that just starts the nginx process skipping mysql stuff 2019-12-20 08:34:52 -08:00
David Martinka
0c38f97b08 skip mysql endpoint check if DB_HOST is empty
also formatted "do" and "then" in this section for style consistency
2019-08-05 10:29:18 -07:00
thelamer
152b73bcf2 #21 Rebase to Alpine 3.9, add MySQL init logic, fix app key bug 2019-04-20 20:19:59 -07:00
Homer
0c25fde6c6 removed / removing from app key and changed associated sed delimiter 2018-11-14 16:46:43 +00:00
Homer
3ff047bfad change sed delimeter for old appkeys with / in them. symlink laravel log 2018-10-18 15:17:51 +01:00
Homer
34fd324117 memcache fix 2018-10-15 09:52:33 +01:00
Homer
744a40d1f5 updated a var 2018-10-15 09:40:35 +01:00
Homer
634b55d7c3 changed appkey usage, moved appurl if, updated readme vars 2018-10-15 09:37:13 +01:00