Compare commits

..

162 Commits

Author SHA1 Message Date
7c77c546af
fix: add /tmp to open_basedir as its required for exports
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-10-31 10:55:34 +01:00
633ca0c22b chore(docker): update thegeeklab/nginx:latest docker digest to 72ffd57
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-10-18 17:32:57 +00:00
d57a471cdb chore(docker): update thegeeklab/nginx:latest docker digest to 35d0f3c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-10-17 15:33:00 +00:00
b34da44c55 chore(docker): update thegeeklab/nginx:latest docker digest to 4ea006f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-09-28 23:33:55 +00:00
bafa3f26b9 chore(docker): update thegeeklab/nginx:latest docker digest to 1d87436
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-08-17 15:04:08 +00:00
1e8b43cf38 chore(docker): update thegeeklab/nginx:latest docker digest to 121f567
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-08-07 22:33:34 +00:00
2daccd31cc chore(docker): update thegeeklab/nginx:latest docker digest to 41aac35
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-07-21 18:03:40 +00:00
69030d45d0 chore(docker): update thegeeklab/nginx:latest docker digest to 1900d37
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-15 07:03:13 +00:00
2101d158fe chore(docker): update thegeeklab/nginx:latest docker digest to 98aeff1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-15 02:02:49 +00:00
f38214cebc chore(docker): update thegeeklab/nginx:latest docker digest to 24b611e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-15 00:02:57 +00:00
171a862118 chore(docker): update thegeeklab/nginx:latest docker digest to 3f20aac
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-14 21:40:42 +00:00
3e12dd8145 fix: fix typo in api healthcheck (#106)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: docker/freshrss#106
2023-06-11 00:20:49 +02:00
ab2ed79a3a fix: use api url for healthcheck if enabled (#105)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Reviewed-on: docker/freshrss#105
2023-06-10 23:55:34 +02:00
5aebe22bc9 chore(docker): update thegeeklab/nginx:latest docker digest to 73bfe01
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-06-05 09:03:32 +00:00
25219a8eb7 chore(docker): update thegeeklab/nginx:latest docker digest to dab0bf7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-30 20:33:40 +00:00
193baa4b98 chore(docker): update thegeeklab/nginx:latest docker digest to b68d37d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-05-29 12:03:46 +00:00
ac74f737f3 chore(docker): update thegeeklab/nginx:latest docker digest to 546c03e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-05-26 11:03:30 +00:00
681426c0ca chore(docker): update thegeeklab/nginx:latest docker digest to 9ff6cf3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-24 17:33:27 +00:00
c47a82342c chore(docker): update thegeeklab/nginx:latest docker digest to b50b7d7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-18 02:34:50 +00:00
c564361b50 chore(docker): update thegeeklab/nginx:latest docker digest to e0a65fd
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-04-14 17:33:08 +00:00
f5a68c7bfe chore(docker): update thegeeklab/nginx:latest docker digest to 378f3e4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-03-29 21:32:58 +00:00
f32520673d chore(docker): update thegeeklab/nginx:latest docker digest to d9c0983
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2023-03-13 18:03:05 +00:00
337b30486a chore(deps): update dependency freshrss/freshrss to v1.21.0 (#95)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2023-03-09 08:51:21 +01:00
9773f325a5 chore(docker): update thegeeklab/nginx:latest docker digest to 8d27f2f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-03-02 14:03:07 +00:00
2192457cca chore(docker): update thegeeklab/nginx:latest docker digest to 2e25c7c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-03-02 13:03:08 +00:00
23cdc2cbc5 chore(docker): update thegeeklab/nginx:latest docker digest to 38d46af
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-24 23:32:51 +00:00
359705f543 chore(docker): update thegeeklab/nginx:latest docker digest to 8a70210
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-23 21:32:51 +00:00
18eb8cf9be chore(docker): update thegeeklab/nginx:latest docker digest to 2dcdeb3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-11 06:32:48 +00:00
536b205f5a chore(docker): update thegeeklab/nginx:latest docker digest to 44272d8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-10 23:02:42 +00:00
432e67bfcb chore(docker): update thegeeklab/nginx:latest docker digest to 21c00a9
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-02-09 10:02:46 +00:00
a70b3d3712
ci: bump container build plugin to drone-docker-buildx:23
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-09 10:32:17 +01:00
1c06fccebc chore(docker): update thegeeklab/nginx:latest docker digest to 006eb2d (#87)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2023-02-08 21:50:19 +01:00
cc29ed120b
fix drone-matrix template
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-08 21:22:12 +01:00
bf52e7e5f4 chore(docker): update thegeeklab/nginx:latest docker digest to bcf46df
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-15 16:32:35 +00:00
790b9a554c refactor: use buildx for multiarch container builds (#85)
All checks were successful
continuous-integration/drone/push Build is passing
2023-01-15 17:07:40 +01:00
deaa9a3a30 chore(docker): update thegeeklab/nginx:latest docker digest to 4dd08de
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-15 00:03:00 +00:00
f4aa4c63ae chore(docker): update thegeeklab/nginx:latest docker digest to 4ddcc3d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2023-01-09 18:32:49 +00:00
98bd9051c8 chore(deps): update dependency freshrss/freshrss to v1.20.2 (#82)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-12-09 23:15:56 +01:00
7950622d98
chore: remove default healthcheck
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-11-25 14:41:51 +01:00
05456914b6 chore(docker): update thegeeklab/nginx:latest docker digest to 1b4a55c (#81)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-11-25 14:21:45 +01:00
6c0ec6e6ec
feat: add new option FRESHRSS_TRUSTED_SOURCES
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-25 14:15:55 +01:00
8ae6d67686 chore(docker): update thegeeklab/nginx:latest docker digest to 3fe26c2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-24 13:03:03 +00:00
344df5d54c chore(deps): update dependency freshrss/freshrss to v1.20.1 (#79)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-11-22 08:51:33 +01:00
adc12b31d6 chore(docker): update thegeeklab/nginx:latest docker digest to e45e113
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-12 07:02:15 +00:00
4b144229a7 chore(docker): update thegeeklab/nginx:latest docker digest to 40f2b05
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-11-10 23:02:17 +00:00
a96e2b576f chore(docker): update thegeeklab/nginx:latest docker digest to 3d1b047
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-09-13 19:02:29 +00:00
639f9c4a96
chore: add PHP extension php8-openssl
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-09-10 19:27:34 +02:00
fa43008a00 chore(deps): update dependency freshrss/freshrss to v1.20.0 (#75)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-09-10 19:23:54 +02:00
b4ae2848d3 chore(docker): update thegeeklab/nginx digest to 2b109ed
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-09 20:03:08 +00:00
75055703cc chore(docker): update thegeeklab/nginx digest to e18dc38
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-06 20:03:05 +00:00
f93e763a4c chore(docker): update thegeeklab/nginx digest to c555262
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-05 03:02:57 +00:00
e37a6695b6 chore(docker): update thegeeklab/nginx digest to de15bcb
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-19 01:01:43 +00:00
813acd6104 chore(docker): update thegeeklab/nginx digest to a2f535c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-07-13 10:02:59 +00:00
aecee7b56a chore(docker): update thegeeklab/nginx digest to c2ef4a5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-28 23:02:57 +00:00
d345c9f40f
fix: replace deprecated gomplate conversion
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-28 22:27:29 +02:00
375aff7323 chore(docker): update thegeeklab/nginx digest to e52460c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-21 20:02:57 +00:00
df2521d33f chore(docker): update thegeeklab/nginx digest to 1056eaf
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-21 14:02:58 +00:00
00c77c69ef
fix: force curl to fail on error
All checks were successful
continuous-integration/drone/push Build is passing
2022-06-21 15:15:16 +02:00
23284d0d09 chore(docker): update thegeeklab/nginx digest to 513f14c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-06-20 00:02:57 +00:00
6394dc5347 chore(docker): update thegeeklab/nginx digest to 0e2bd15
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-13 19:02:56 +00:00
e7d6329f0b chore(docker): update thegeeklab/nginx digest to d81a94a
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-13 00:03:00 +00:00
37e35f76c5 chore(docker): update thegeeklab/nginx digest to a08fb66
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-03 12:02:01 +00:00
6d87ff1e6f chore(docker): update thegeeklab/nginx digest to 5bcf0a0 (#62)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-05-25 15:10:52 +02:00
edcd7543e8 chore(docker): update thegeeklab/nginx digest to 76b5b1c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-05-20 14:01:56 +00:00
c46cf742c7
ci: remove unused secrets from dryrun steps
All checks were successful
continuous-integration/drone/push Build is passing
2022-05-20 15:34:18 +02:00
10cbd9bd38 chore(docker): update thegeeklab/nginx digest to fbb4d06
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-02 23:01:40 +00:00
527f0f3078 chore(docker): update thegeeklab/nginx digest to bf7b1f3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-25 21:01:46 +00:00
04f6203471 chore(docker): update thegeeklab/nginx digest to c915105
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-04-05 03:01:51 +00:00
89536b69c0 chore(docker): update thegeeklab/nginx digest to fa4991e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-31 22:01:53 +00:00
64b3c1693a chore(docker): update thegeeklab/nginx digest to f9a2ff0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-29 05:01:56 +00:00
df31d158be chore(docker): update thegeeklab/nginx digest to 5ac9cf2
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-29 03:02:17 +00:00
2f677aa329 chore(docker): update thegeeklab/nginx digest to a66b3b5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-27 16:02:02 +00:00
8e85a585dd chore(docker): update thegeeklab/nginx digest to 0c10bf1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-03-24 03:02:30 +00:00
e449274c77 chore(docker): update thegeeklab/nginx digest to b4d5957
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-23 19:04:17 +00:00
90dceb93ce chore(docker): update thegeeklab/nginx digest to 4ddba3f
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-17 14:02:42 +00:00
69f0414956 chore(docker): update thegeeklab/nginx digest to 9f7bff9
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-17 12:02:20 +00:00
125ac10ef4 chore(docker): update thegeeklab/nginx digest to 02002ca
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-17 07:02:28 +00:00
ca66f4cfdd chore(deps): update dependency freshrss/freshrss to v1.19.2 (#48)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-02-05 12:24:52 +01:00
ef5c7b93d8 chore(docker): update thegeeklab/nginx:latest docker digest to 405e5e6
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-01-12 11:01:36 +00:00
cab0b10c2e chore(deps): update dependency freshrss/freshrss to v1.19.1 (#46)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2022-01-07 09:14:00 +01:00
e323c03c2d chore(docker): update thegeeklab/nginx:latest docker digest to 13e7aa7
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-12-21 11:01:31 +00:00
2e78d7bb46
chore: end of the year maintenance
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-21 10:59:29 +01:00
efe93bcb5f chore: adjust changelog template to link to prs instead of issues (#44)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
2021-12-12 13:24:57 +01:00
8b85b49305 chore(docker): update thegeeklab/nginx:latest docker digest to c7550f3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-11-28 19:01:24 +00:00
f152efeef8 chore(docker): update thegeeklab/nginx:latest docker digest to eb1bb7d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-20 17:01:11 +00:00
310c2785ad move container library setup to base image (#40)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Co-authored-by: Robert Kaussow <xoxys@rknet.org>
Co-committed-by: Robert Kaussow <xoxys@rknet.org>
2021-10-10 15:26:07 +02:00
fe198d2550 chore(docker): update thegeeklab/nginx:latest docker digest to cf19fb8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-10-09 20:36:00 +00:00
5d918aec5f
feat: add container library
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-09 22:02:53 +02:00
2431266666 chore(docker): update thegeeklab/nginx:latest docker digest to bc82863
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-09-25 00:01:09 +00:00
d6c9b5a291 chore(docker): update thegeeklab/nginx:latest docker digest to f560019
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-09-22 10:01:05 +00:00
293d0bb371
improve changelog template
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-22 11:45:40 +02:00
cde9f3050d chore(docker): update thegeeklab/nginx:latest docker digest to 4617fbd
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-09-22 08:01:04 +00:00
b4f7969d7f
improve drone-matrix template
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-22 09:22:34 +02:00
47650fea87 chore(docker): update thegeeklab/nginx:latest docker digest to 9de3f26
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-09-19 20:01:10 +00:00
d44c61a1ab
ci: switch to drone-matrix plugin
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-19 21:48:19 +02:00
289e26b7f0 chore(docker): update thegeeklab/nginx:latest docker digest to fa27027
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-08-27 22:01:05 +00:00
d591e5c5a0 chore(docker): update thegeeklab/nginx:latest docker digest to d9e84d9
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-08-27 20:01:03 +00:00
114fa6399a chore(docker): update thegeeklab/nginx:latest docker digest to fd5f1b4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-08-24 14:07:51 +00:00
0028ca8da3 chore(deps): update thegeeklab/nginx:latest docker digest
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-07-31 21:46:48 +00:00
70a233fbf5
chore: rewrite freshrss setup tasks in entrypoint script
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-06-08 00:01:38 +02:00
c3d9f9a619
fix: replace custom safe_define function by define 2021-06-08 00:01:20 +02:00
244e640e2e
fix: add back custom safe_define function
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-07 22:45:10 +02:00
9d4410cd25 chore(deps): update dependency freshrss/freshrss to v1.18.1 (#31)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [FreshRSS/FreshRSS](https://github.com/FreshRSS/FreshRSS) | patch | `1.18.0` -> `1.18.1` |

---

### Release Notes

<details>
<summary>FreshRSS/FreshRSS</summary>

### [`v1.18.1`](https://github.com/FreshRSS/FreshRSS/blob/master/CHANGELOG.md#&#8203;2021-06-06-FreshRSS-1181)

[Compare Source](https://github.com/FreshRSS/FreshRSS/compare/1.18.0...1.18.1)

-   Features
    -   Support standard `HTTP 410 Gone` by disabling (muting) gone feeds [#&#8203;3561](https://github.com/FreshRSS/FreshRSS/pull/3561)
    -   Make advanced feed options such as SSL available to non-admins [#&#8203;3612](https://github.com/FreshRSS/FreshRSS/pull/3612)
-   API
    -   Supported by [Newsboat 2.24+](https://newsboat.org/) [#&#8203;3574](https://github.com/FreshRSS/FreshRSS/pull/3574)
    -   Supported by [RSS Guard](https://github.com/martinrotter/rssguard) [#&#8203;3627](https://github.com/FreshRSS/FreshRSS/pull/3627)
-   UI
    -   Allow Unicode for shortcuts [#&#8203;3548](https://github.com/FreshRSS/FreshRSS/pull/3548)
-   Bug fixing
    -   Fix database lock during refresh with MariaDB [#&#8203;3559](https://github.com/FreshRSS/FreshRSS/pull/3559)
    -   Fix database creation from CLI [#&#8203;3544](https://github.com/FreshRSS/FreshRSS/pull/3544)
    -   Fix: `pdo_sqlite` is optional except for export/import SQLite [#&#8203;3545](https://github.com/FreshRSS/FreshRSS/pull/3545)
    -   Fix import of JSON and TT-RSS files, especially with PHP 8 [#&#8203;3553](https://github.com/FreshRSS/FreshRSS/pull/3553)
        -   Allow import of more than 999 favourites/labelled articles even with SQLite
    -   Fix additional SQL limits, especially for SQLite [#&#8203;3586](https://github.com/FreshRSS/FreshRSS/pull/3586)
    -   Fix search param encoding in user query [#&#8203;3541](https://github.com/FreshRSS/FreshRSS/pull/3541)
    -   Fix undefined variable & dead code when adding feed [#&#8203;3546](https://github.com/FreshRSS/FreshRSS/pull/3546)
    -   Fix missing translation in feed configuration [#&#8203;3554](https://github.com/FreshRSS/FreshRSS/pull/3554)
    -   Fix double escaping in feed filters [#&#8203;3563](https://github.com/FreshRSS/FreshRSS/pull/3563)
    -   Fix bugs in migration system [#&#8203;3589](https://github.com/FreshRSS/FreshRSS/pull/3589)
    -   Fix regression preventing showing startup errors [#&#8203;3590](https://github.com/FreshRSS/FreshRSS/pull/3590)
    -   Fix form redirection after erroneous user creation [#&#8203;3656](https://github.com/FreshRSS/FreshRSS/pull/3656)
    -   Fix JavaScript error during navigation when no article is selected [#&#8203;3655](https://github.com/FreshRSS/FreshRSS/pull/3655)
    -   Fix link to add feeds from the empty homepage [#&#8203;3650](https://github.com/FreshRSS/FreshRSS/pull/3650)
    -   Fix git update error message [#&#8203;3645](https://github.com/FreshRSS/FreshRSS/pull/3645)
-   SimplePie
    -   Fix regression about media attachments [#&#8203;3565](https://github.com/FreshRSS/FreshRSS/pull/3565)
    -   Fix regression about forcing HTTPS for enclosures [#&#8203;3568](https://github.com/FreshRSS/FreshRSS/pull/3568)
    -   Catch ValueError for loadHTML with PHP 8 [simplepie#&#8203;673](https://github.com/simplepie/simplepie/pull/673)
    -   Provide access to latest HTTP status code [simplepie#&#8203;674](https://github.com/simplepie/simplepie/pull/674)
    -   Fix wrong SimplePie type hint [simplepie#&#8203;678](https://github.com/simplepie/simplepie/pull/678)
    -   Merge details from upstream PRs [#&#8203;3588](https://github.com/FreshRSS/FreshRSS/pull/3588), [#&#8203;3614](https://github.com/FreshRSS/FreshRSS/pull/3614)
-   API
    -   Compatibility with Web servers providing `ORIG_PATH_INFO` [#&#8203;3560](https://github.com/FreshRSS/FreshRSS/pull/3560)
-   i18n
    -   Improved Russian [#&#8203;3579](https://github.com/FreshRSS/FreshRSS/pull/3579)
    -   Improved Turkish [#&#8203;3604](https://github.com/FreshRSS/FreshRSS/pull/3604)
    -   Improved Chinese [#&#8203;3600](https://github.com/FreshRSS/FreshRSS/pull/3600)
-   Code improvements:
    -   Friendly constant syntax for Intellisense [#&#8203;3577](https://github.com/FreshRSS/FreshRSS/pull/3577)
    -   Fix several comments syntaxes [#&#8203;3615](https://github.com/FreshRSS/FreshRSS/pull/3615)
    -   Minor uniform stricter HTML [#&#8203;3616](https://github.com/FreshRSS/FreshRSS/pull/3616)
    -   Removed unused variable [#&#8203;3587](https://github.com/FreshRSS/FreshRSS/pull/3587)
    -   Provide action name in Minz controller exception [#&#8203;3624](https://github.com/FreshRSS/FreshRSS/pull/3624)
    -   New convenience method to extract multiline GET parameters from e.g. `<textarea>` [#&#8203;3629](https://github.com/FreshRSS/FreshRSS/pull/3629)
-   Deployment
    -   Automatically apply `latest` tag in git for the latest FreshRSS release [#&#8203;3524](https://github.com/FreshRSS/FreshRSS/pull/3524)
-   Misc.
    -   Remove legacy `data/do-install.txt` for triggering install process [#&#8203;3555](https://github.com/FreshRSS/FreshRSS/pull/3555)
    -   If using built-in git updates, automatically change to git `edge` branch if using old `master` or `dev` branch names [#&#8203;3589](https://github.com/FreshRSS/FreshRSS/pull/3589)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).

Reviewed-on: docker/freshrss#31
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-06-07 18:47:36 +02:00
31b380fb8a chore(deps): update thegeeklab/nginx:latest docker digest
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-05-10 20:32:05 +00:00
0165ddc00b chore(deps): update thegeeklab/nginx:latest docker digest to eeb0ac4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-05-09 21:01:06 +00:00
37034c617f
fix pipeline deps
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-09 22:57:23 +02:00
f4b5ac863b
chore: improve generated changelog
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2021-05-09 22:42:32 +02:00
52d1300c05 chore(deps): update thegeeklab/nginx:latest docker digest to 1c97c83
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-04-14 22:00:51 +00:00
4198f66d06 chore(deps): update thegeeklab/nginx:latest docker digest to a890cec
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-04-09 10:00:48 +00:00
540e9d2063 chore(deps): update thegeeklab/nginx:latest docker digest to b64a9a8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-31 23:03:10 +00:00
90d2e30135 chore(deps): update thegeeklab/nginx:latest docker digest to d54c5f3
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-31 21:03:47 +00:00
1e3e816081 chore(deps): update thegeeklab/nginx:latest docker digest to 4f87267
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-26 01:02:48 +00:00
1d505fa6d2 chore(deps): update thegeeklab/nginx:latest docker digest to 03ae58e
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-23 23:02:54 +00:00
30aa7c0d3a chore(deps): update dependency freshrss/freshrss to v1.18.0 (#22)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
chore(deps): update dependency freshrss/freshrss to v1.18.0

Reviewed-on: docker/freshrss#22
Co-Authored-By: Renovator Bot <renovator@rknet.org>
Co-Committed-By: Renovator Bot <renovator@rknet.org>
2021-03-15 17:14:13 +01:00
db4ddddad2 chore(deps): update thegeeklab/nginx:latest docker digest to 3a1afe8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-20 13:06:39 +00:00
f0534caf4d chore(deps): update thegeeklab/nginx:latest docker digest to 1eae9a8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-18 03:03:41 +00:00
bf8f914592 chore(deps): update thegeeklab/nginx:latest docker digest to d8d6c0d
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-18 01:03:28 +00:00
83ae529027 chore(deps): update thegeeklab/nginx:latest docker digest to d927114
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-17 23:04:05 +00:00
11d59b7d5d chore(deps): update thegeeklab/nginx:latest docker digest to 4d1f929
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-15 23:03:15 +00:00
1a1b3b9a3d chore(deps): update thegeeklab/nginx:latest docker digest to 3cc0be1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-15 21:03:22 +00:00
45d0b3806d chore(deps): update thegeeklab/nginx:latest docker digest to e901869
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-02-11 21:02:48 +00:00
d3b711311d
[skip ci] remove local changelog 2021-02-11 21:05:36 +01:00
52d1aebdab
ci: auto-generate changelog
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-11 20:44:37 +01:00
38d9e4b94e chore(deps): update thegeeklab/nginx:latest docker digest to 15327ec
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-29 15:02:50 +00:00
f2e209deb1
[skip ci] update changelog
All checks were successful
continuous-integration/drone/tag Build is passing
2021-01-29 09:47:13 +01:00
166d12e695 chore(deps): update thegeeklab/nginx:latest docker digest to 22cab88
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-29 06:02:45 +00:00
f0813b0f29 chore(deps): update thegeeklab/nginx:latest docker digest to d60b2a4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-29 04:02:38 +00:00
57d2c3618b chore(deps): update thegeeklab/nginx:latest docker digest to accb4fd
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-29 02:03:17 +00:00
93be19c3a9 chore(deps): update thegeeklab/nginx:latest docker digest to 4874dc8
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-18 23:02:59 +00:00
834722ae52 chore(deps): update thegeeklab/nginx:latest docker digest to 632bbd1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-18 21:03:13 +00:00
abb22f4214
switch to docker-buildx
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-18 21:47:54 +01:00
964da71094
switch to custom drone docker plugin
All checks were successful
continuous-integration/drone/push Build is passing
2021-01-18 20:15:32 +01:00
7f5813eedb chore(deps): update thegeeklab/nginx:latest docker digest to 3eff88c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-01-04 17:02:04 +00:00
3344066b80
chore: remove gomplate debug output
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-31 13:22:05 +01:00
42a195f07a
[skip ci] update changelog
All checks were successful
continuous-integration/drone/tag Build is passing
2020-12-31 12:57:15 +01:00
9e1d9646c5 chore(deps): update thegeeklab/nginx:latest docker digest to 1cf8372
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-12-30 16:28:01 +00:00
41648220a8
rework compose example
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-30 17:23:51 +01:00
98d6a621e9 chore(deps): pin docker digests
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2020-12-30 16:02:15 +00:00
1e43038492
chore: replace master by main as default branch
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-30 16:31:41 +01:00
a770aa52ff
chore: use renovate preset config
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-30 16:11:35 +01:00
b622fb6ea9
[skip ci] update changelog
All checks were successful
continuous-integration/drone/tag Build is passing
2020-12-21 00:03:16 +01:00
50ca8a7ece
switch to org.opencontainers container labels
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-20 22:47:44 +01:00
a3ec920b6f
pin plugins/docker to v19
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-28 12:10:29 +01:00
2a74fcf29f
fix pipeline deps
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-28 09:17:37 +01:00
6355945205
enable markdownlint
Some checks failed
continuous-integration/drone/push Build is failing
2020-10-28 09:05:50 +01:00
02c008389a
update email address
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-26 20:08:11 +01:00
d3cd64a607
[skip ci] adjust regex patterns 2020-10-23 09:59:13 +02:00
c055a722b2
[skip ci] prepare release
All checks were successful
continuous-integration/drone/tag Build is passing
2020-10-18 21:22:30 +02:00
b62549bda1 Merge pull request 'Update dependency FreshRSS/FreshRSS to v1.17.0' (#2) from renovate/freshrss-freshrss-1.x into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: docker/freshrss#2
2020-10-18 21:15:44 +02:00
14851d7887 Update dependency FreshRSS/FreshRSS to v1.17.0
All checks were successful
continuous-integration/drone/pr Build is passing
2020-10-18 19:13:35 +00:00
3576072db9
setup renovate
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-18 21:10:36 +02:00
611e9a94d6 Merge pull request 'Configure Renovate' (#1) from renovate/configure into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: docker/freshrss#1
2020-10-18 21:03:16 +02:00
fd267e91e4 Add renovate.json
All checks were successful
continuous-integration/drone/pr Build is passing
2020-10-17 19:09:56 +00:00
8157fb394d
fix drone trigger
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-17 16:08:37 +02:00
a82793d87d
update readme
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-22 22:24:37 +02:00
1599d03cf3
[skip ci] migrate namespace
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-22 22:03:14 +02:00
18fc455adc
migrate to thegeeklab namespace
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-21 22:11:01 +02:00
3d9fa57000
fix wording in badges
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-05 17:22:37 +02:00
6dd27a95fb
[skip ci] update changelog
All checks were successful
continuous-integration/drone/tag Build is passing
2020-09-02 22:35:15 +02:00
6e86c18a4a
publish to quay and dockerhub
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-02 21:47:25 +02:00
a8608644e8 use 127.0.0.1 for healthcheck instead of localhost
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-05-05 17:52:44 +02:00
d0892afd84 cleanup
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-05-04 20:31:19 +02:00
20 changed files with 360 additions and 383 deletions

23
.chglog/CHANGELOG.tpl.md Executable file
View File

@ -0,0 +1,23 @@
# Changelog
{{ range .Versions -}}
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
{{ range .CommitGroups -}}
### {{ .Title }}
{{ range .Commits -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ (regexReplaceAll "(.*)/issues/(.*)" (regexReplaceAll "(Co-\\w*-by.*)" .Subject "") "${1}/pulls/${2}") | trim }}
{{ end }}
{{- end -}}
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

25
.chglog/config.yml Executable file
View File

@ -0,0 +1,25 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://gitea.rknet.org/docker/freshrss
options:
commit_groups:
title_maps:
feat: Features
fix: Bug Fixes
perf: Performance Improvements
refactor: Code Refactoring
chore: Others
test: Testing
ci: CI Pipeline
docs: Documentation
header:
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
pattern_maps:
- Type
- Scope
- Subject
notes:
keywords:
- BREAKING CHANGE

View File

@ -1,148 +0,0 @@
local PipelineBuild(arch='amd64') = {
kind: 'pipeline',
name: 'build-' + arch,
platform: {
os: 'linux',
arch: arch,
},
steps: [
{
name: 'dryrun',
image: 'plugins/docker',
settings: {
dry_run: true,
dockerfile: 'Dockerfile',
repo: 'xoxys/${DRONE_REPO_NAME}',
username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' },
build_args: [
'BUILD_VERSION=${DRONE_TAG%-*}',
],
},
when: {
ref: [
'refs/pull/**',
],
},
},
{
name: 'publish',
image: 'plugins/docker',
settings: {
auto_tag: true,
auto_tag_suffix: arch,
dockerfile: 'Dockerfile',
repo: 'xoxys/${DRONE_REPO_NAME}',
username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' },
build_args: [
'BUILD_VERSION=${DRONE_TAG%-*}',
],
},
when: {
ref: [
'refs/heads/master',
'refs/tags/**',
],
},
},
{
name: 'publish-gitea',
image: 'plugins/gitea-release',
settings: {
api_key: { from_secret: 'gitea_token' },
base_url: 'https://gitea.rknet.org',
overwrite: true,
title: '${DRONE_TAG}',
note: 'CHANGELOG.md',
},
when: {
ref: ['refs/tags/**'],
},
},
],
};
local PipelineNotifications(depends_on=[]) = {
kind: 'pipeline',
name: 'notifications',
platform: {
os: 'linux',
arch: 'amd64',
},
steps: [
{
image: 'plugins/manifest',
name: 'manifest',
settings: {
ignore_missing: true,
tags: [
'${DRONE_TAG}',
'${DRONE_TAG%-*}',
'${DRONE_TAG%.*}',
'${DRONE_TAG%%.*}',
],
username: { from_secret: 'docker_username' },
password: { from_secret: 'docker_password' },
spec: 'manifest.tmpl',
},
when: {
status: [
'success',
],
},
},
{
name: 'readme',
image: 'sheogorath/readme-to-dockerhub',
environment: {
DOCKERHUB_USERNAME: { from_secret: 'docker_username' },
DOCKERHUB_PASSWORD: { from_secret: 'docker_password' },
DOCKERHUB_REPO_PREFIX: 'xoxys',
DOCKERHUB_REPO_NAME: '${DRONE_REPO_NAME}',
README_PATH: 'README.md',
SHORT_DESCRIPTION: 'Rootless FreshRSS - Self-hosted RSS feed aggregator',
},
when: {
status: [
'success',
],
},
},
{
name: 'matrix',
image: 'plugins/matrix',
settings: {
homeserver: { from_secret: 'matrix_homeserver' },
roomid: { from_secret: 'matrix_roomid' },
template: 'Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}',
username: { from_secret: 'matrix_username' },
password: { from_secret: 'matrix_password' },
},
when: {
status: [
'success',
'failure',
],
},
},
],
trigger: {
ref: [
'refs/heads/master',
'refs/tags/**',
],
status: [
'success',
'failure',
],
},
depends_on: depends_on,
};
[
PipelineBuild(arch='amd64'),
PipelineNotifications(depends_on=[
'build-amd64',
]),
]

View File

@ -1,59 +1,133 @@
---
kind: pipeline
name: build-amd64
name: test
platform:
os: linux
arch: amd64
steps:
- name: dryrun
image: plugins/docker
settings:
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
dry_run: true
password:
from_secret: docker_password
repo: xoxys/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- name: markdownlint
image: thegeeklab/markdownlint-cli
commands:
- markdownlint 'README.md'
trigger:
ref:
- refs/heads/main
- refs/pull/**
- name: publish
image: plugins/docker
settings:
auto_tag: true
auto_tag_suffix: amd64
build_args:
- BUILD_VERSION=${DRONE_TAG%-*}
dockerfile: Dockerfile
password:
from_secret: docker_password
repo: xoxys/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/heads/master
- refs/tags/**
- name: publish-gitea
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.rknet.org
note: CHANGELOG.md
overwrite: true
title: ${DRONE_TAG}
when:
ref:
---
kind: pipeline
name: build-container
platform:
os: linux
arch: amd64
steps:
- name: dryrun
image: thegeeklab/drone-docker-buildx:23
settings:
dockerfile: Dockerfile
dry_run: true
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
when:
ref:
- refs/pull/**
- name: tags
image: thegeeklab/docker-autotag
environment:
DOCKER_AUTOTAG_FORCE_LATEST: True
DOCKER_AUTOTAG_IGNORE_PRERELEASE: True
DOCKER_AUTOTAG_OUTPUT_FILE: .tags
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- dryrun
- name: changelog-generate
image: thegeeklab/git-chglog
commands:
- git fetch -tq
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
depends_on:
- tags
- name: changelog-format
image: thegeeklab/alpine-tools
commands:
- prettier CHANGELOG.md
- prettier -w CHANGELOG.md
depends_on:
- changelog-generate
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:23
settings:
dockerfile: Dockerfile
password:
from_secret: docker_password
provenance: false
repo: thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: docker_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog-format
- name: publish-quay
image: thegeeklab/drone-docker-buildx:23
settings:
dockerfile: Dockerfile
password:
from_secret: quay_password
provenance: false
registry: quay.io
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
username:
from_secret: quay_username
when:
ref:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog-format
- name: publish-gitea
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.rknet.org
note: CHANGELOG.md
overwrite: true
title: ${DRONE_TAG}
when:
ref:
- refs/tags/**
depends_on:
- publish-dockerhub
- publish-quay
trigger:
ref:
- refs/heads/main
- refs/pull/**
- refs/tags/**
depends_on:
- test
---
kind: pipeline
name: notifications
@ -63,69 +137,63 @@ platform:
arch: amd64
steps:
- name: manifest
image: plugins/manifest
settings:
ignore_missing: true
password:
from_secret: docker_password
spec: manifest.tmpl
tags:
- ${DRONE_TAG}
- ${DRONE_TAG%-*}
- ${DRONE_TAG%.*}
- ${DRONE_TAG%%.*}
username:
from_secret: docker_username
when:
status:
- success
- name: pushrm-dockerhub
pull: always
image: chko/docker-pushrm:1
environment:
DOCKER_PASS:
from_secret: docker_password
DOCKER_USER:
from_secret: docker_username
PUSHRM_FILE: README.md
PUSHRM_SHORT: Custom image for FreshRSS feed aggregator
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: readme
image: sheogorath/readme-to-dockerhub
environment:
DOCKERHUB_PASSWORD:
from_secret: docker_password
DOCKERHUB_REPO_NAME: ${DRONE_REPO_NAME}
DOCKERHUB_REPO_PREFIX: xoxys
DOCKERHUB_USERNAME:
from_secret: docker_username
README_PATH: README.md
SHORT_DESCRIPTION: Rootless FreshRSS - Self-hosted RSS feed aggregator
when:
status:
- success
- name: pushrm-quay
pull: always
image: chko/docker-pushrm:1
environment:
APIKEY__QUAY_IO:
from_secret: quay_token
PUSHRM_FILE: README.md
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
when:
status:
- success
- name: matrix
image: plugins/matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
- name: matrix
image: thegeeklab/drone-matrix
settings:
homeserver:
from_secret: matrix_homeserver
password:
from_secret: matrix_password
roomid:
from_secret: matrix_roomid
template: "Status: **{{ .Build.Status }}**<br/> Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/> Message: {{ .Commit.Message.Title }}"
username:
from_secret: matrix_username
when:
status:
- success
- failure
trigger:
ref:
- refs/heads/master
- refs/tags/**
- refs/heads/main
- refs/tags/**
status:
- success
- failure
- success
- failure
depends_on:
- build-amd64
- build-container
---
kind: signature
hmac: ef7295f9a2cf94dc557898ef6fb2f9d02dc4fe2aca57da40a0dbe08168c2b0ee
hmac: cba07850e21c648f8558e69aa7e5a561ef473fe2a3a7890bf308a57c73ea0343
...

1
.gitignore vendored
View File

@ -1 +1,2 @@
test/
CHANGELOG.md

6
.markdownlint.yml Normal file
View File

@ -0,0 +1,6 @@
---
default: True
MD013: False
MD041: False
MD004:
style: dash

3
.prettierignore Normal file
View File

@ -0,0 +1,3 @@
.drone.yml
*.tpl.md
LICENSE

View File

@ -1,3 +0,0 @@
* ENHANCEMENT
* base nginx image updated to alpine 3.11
* update to upstream version 1.16.0

View File

@ -1,30 +1,33 @@
FROM xoxys/nginx:latest
FROM thegeeklab/nginx:latest@sha256:72ffd57b6b89013f6b4c6a8a97728120df1dfac0d66b2164e0aacba21ee87380
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
org.label-schema.name="FreshRSS" \
org.label-schema.vcs-url="https://gitea.rknet.org/docker/freshrss" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.title="FreshRSS"
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/freshrss"
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/freshrss"
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/freshrss"
ARG BUILD_VERSION=master
ENV FRESHRSS_VERSION="${BUILD_VERSION:-master}"
ARG BUILD_VERSION
# renovate: datasource=github-releases depName=FreshRSS/FreshRSS
ENV FRESHRSS_VERSION="${BUILD_VERSION:-1.21.0}"
ADD overlay/ /
RUN apk --update add --virtual .build-deps tar curl && \
apk --update add php7 php7-curl php7-fpm php7-gmp php7-intl php7-mbstring php7-xml \
php7-zip php7-ctype php7-dom php7-fileinfo php7-iconv php7-json php7-session \
php7-simplexml php7-xmlreader php7-zlib php7-pdo_sqlite php7-pdo_mysql\
php7-pdo_pgsql && \
apk --update add php81 php81-curl php81-fpm php81-gmp php81-intl php81-mbstring php81-xml \
php81-zip php81-ctype php81-dom php81-fileinfo php81-iconv php81-json php81-opcache php81-phar \
php81-session php81-simplexml php81-xmlreader php81-xmlwriter php81-tokenizer php81-zlib \
php81-openssl php81-pdo_sqlite php81-pdo_mysql php81-pdo_pgsql && \
rm -rf /var/www/localhost && \
rm -f /etc/php7/php-fpm.d/www.conf && \
rm -f /etc/php81/php-fpm.d/www.conf && \
mkdir -p /var/www/app && \
mkdir /var/www/.postgresql && \
FRESHRSS_VERSION="${FRESHRSS_VERSION##v}" && \
echo "Installing FreshRSS version '${FRESHRSS_VERSION}' ..." && \
curl -SsL "https://github.com/FreshRSS/FreshRSS/archive/${FRESHRSS_VERSION}.tar.gz" | \
curl -SsfL "https://github.com/FreshRSS/FreshRSS/archive/${FRESHRSS_VERSION}.tar.gz" | \
tar xz -C /var/www/app/ -X /.tarignore --strip-components=1 && \
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
curl -SsfL -o /etc/php81/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
@ -34,7 +37,7 @@ RUN apk --update add --virtual .build-deps tar curl && \
mkdir -p /var/lib/php/soap_cache && \
mkdir -p /var/lib/php/session && \
chown -R nginx /var/lib/php && \
chown nginx /etc/php7/php.ini && \
chown nginx /etc/php81/php.ini && \
chown -R nginx:nginx /var/www/.postgresql && \
chown -R nginx:nginx /var/www/app
@ -48,6 +51,5 @@ USER nginx
STOPSIGNAL SIGTERM
ENTRYPOINT ["/usr/local/bin/entrypoint"]
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck
WORKDIR /var/www/app
CMD []

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 Robert Kaussow <mail@geeklabor.de>
Copyright (c) 2022 Robert Kaussow <mail@thegeeklab.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

View File

@ -1,10 +1,14 @@
# [freshrss](https://gitea.rknet.org/docker/freshrss)
# freshrss
Custom image for FreshRSS feed aggregator
[![Build Status](https://img.shields.io/drone/build/docker/freshrss?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/freshrss)
[![Docker Hub](https://img.shields.io/badge/docker-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/freshrss)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/freshrss/src/branch/master/LICENSE)
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/freshrss)
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/freshrss)
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/freshrss)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/freshrss/src/branch/main/LICENSE)
FreshRSS is a self-hosted RSS feed aggregator. It is lightweight, easy to work with, powerful, and customizable.
Custom rootless Docker image for FreshRSS, a self-hosted RSS feed aggregator. It is lightweight, easy to work with, powerful, and customizable.
## Usage
@ -18,42 +22,16 @@ Here are some example snippets to help you get started creating a container. Thi
docker create \
--name=freshrss \
-p 80:8080 \
xoxys/freshrss
thegeeklab/freshrss
```
### Docker Compose
Compatible with docker-compose v2 schemas.
```Yaml
---
version: '2.1'
services:
freshrss:
container_name: freshrss
image: xoxys/freshrss:latest
ports:
- "80:8080"
volumes:
- freshrss_data:/var/www/app/data
- freshrss_extensions:/var/www/app/extensions
environment:
FRESHRSS_DEFAULT_USER: admin
FRESHRSS_DEFAULT_PASSWORD: freshrss
FRESHRSS_API_ENABLED: "true"
FRESHRSS_SALT: "38fd29ac5878c270bbfc3599723cd479d48c6c58"
volumes:
freshrss_data:
driver: local
freshrss_extensions:
driver: local
```
Please take a look at the [example](https://gitea.rknet.org/docker/freshrss/src/branch/main/docker-compose.yml) compose file from the git repo.
## Environment variables
### freshrss
### FreshRSS
> **WARNING**: Don't change any system settings through the web UI! These changes will be overwritten at EVERY container startup. Use the provided environment variables instead.
@ -70,7 +48,6 @@ FRESHRSS_BASE_URL="http://localhost/"
FRESHRSS_LANGUAGE="en"
FRESHRSS_TITLE="FreshRSS"
FRESHRSS_META_DESCRIPTION=
FRESHRSS_DEFAULT_USER="_"
FRESHRSS_ALLOW_ANONYMOUS="false"
FRESHRSS_ALLOW_ANONYMOUS_REFRESH="false"
FRESHRSS_AUTH_TYPE="form"
@ -102,6 +79,8 @@ FRESHRSS_DB_BASE=
FRESHRSS_DB_PREFIX="freshrss_"
## comma-seperated string, extensions must be installed!
FRESHRSS_EXTENSIONS_ENABLED="Tumblr-GDPR"
## comma-seperated string
FRESHRSS_TRUSTED_SOURCES=127.0.0.0/8,::1/128
```
### PHP
@ -133,8 +112,4 @@ PHP_SQL_SAFE_MODE=On
## License
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/freshrss/src/branch/master/LICENSE) file for details.
## Maintainers and Contributors
[Robert Kaussow](https://gitea.rknet.org/xoxys)
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/freshrss/src/branch/main/LICENSE) file for details.

View File

@ -1,10 +1,10 @@
---
version: '2.1'
version: "3"
services:
freshrss:
container_name: freshrss
image: xoxys/freshrss:latest
image: thegeeklab/freshrss
ports:
- "80:8080"
volumes:

View File

@ -1,15 +0,0 @@
image: xoxys/freshrss:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
{{#if this}}
- {{trimPrefix "v" this}}
- {{trimPrefix "v" this}}-amd64
{{/if}}
{{/each}}
{{/if}}
manifests:
- image: xoxys/freshrss:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
platform:
architecture: amd64
os: linux

View File

@ -7,16 +7,16 @@ return array(
'language' => '{{ getenv "FRESHRSS_LANGUAGE" "en" }}',
'title' => '{{ getenv "FRESHRSS_TITLE" "FreshRSS" }}',
'meta_description' => '{{ getenv "FRESHRSS_META_DESCRIPTION" }}',
'default_user' => '{{ getenv "FRESHRSS_DEFAULT_USER" "_" }}',
'allow_anonymous' => {{ getenv "FRESHRSS_ALLOW_ANONYMOUS" "false" }},
'allow_anonymous_refresh' => {{ getenv "FRESHRSS_ALLOW_ANONYMOUS_REFRESH" "false" }},
'default_user' => '{{ getenv "FRESHRSS_DEFAULT_USER" "admin" }}',
'allow_anonymous' => {{ getenv "FRESHRSS_ALLOW_ANONYMOUS" "false" | conv.ToBool }},
'allow_anonymous_refresh' => {{ getenv "FRESHRSS_ALLOW_ANONYMOUS_REFRESH" "false" | conv.ToBool }},
'auth_type' => '{{ getenv "FRESHRSS_AUTH_TYPE" "form" }}',
'api_enabled' => {{ getenv "FRESHRSS_API_ENABLED" "false" }},
'unsafe_autologin_enabled' => {{ getenv "FRESHRSS_UNSAFE_AUTOLOGIN_ENABLED" "false" }},
'simplepie_syslog_enabled' => {{ getenv "FRESHRSS_SIMPLEPIE_SYSLOG_ENABLED" "true" }},
'pubsubhubbub_enabled' => {{ getenv "FRESHRSS_PUBSUBHUBBUB_ENABLED" "false" }},
'allow_robots' => {{ getenv "FRESHRSS_ALLOW_ROBOTS" "false" }},
'allow_referrer' => {{ getenv "FRESHRSS_ALLOW_REFERRER" "false" }},
'api_enabled' => {{ getenv "FRESHRSS_API_ENABLED" "false" | conv.ToBool }},
'unsafe_autologin_enabled' => {{ getenv "FRESHRSS_UNSAFE_AUTOLOGIN_ENABLED" "false" | conv.ToBool }},
'simplepie_syslog_enabled' => {{ getenv "FRESHRSS_SIMPLEPIE_SYSLOG_ENABLED" "true" | conv.ToBool }},
'pubsubhubbub_enabled' => {{ getenv "FRESHRSS_PUBSUBHUBBUB_ENABLED" "false" | conv.ToBool }},
'allow_robots' => {{ getenv "FRESHRSS_ALLOW_ROBOTS" "false" | conv.ToBool }},
'allow_referrer' => {{ getenv "FRESHRSS_ALLOW_REFERRER" "false" | conv.ToBool }},
'limits' => array(
'cookie_duration' => {{ getenv "FRESHRSS_LIMITS_COOKIE_DURATION" "2592000" }},
@ -29,25 +29,25 @@ return array(
),
'curl_options' => array(
{{- if not (bool (getenv "FRESHRSS_CURLOPT_SSL_VERIFYHOST" "true")) }}
{{- if not (getenv "FRESHRSS_CURLOPT_SSL_VERIFYHOST" "true" | conv.ToBool) }}
CURLOPT_SSL_VERIFYHOST => {{ getenv "FRESHRSS_CURLOPT_SSL_VERIFYHOST" }},
{{- end }}
{{- if not (bool (getenv "FRESHRSS_CURLOPT_SSL_VERIFYPEER" "true")) }}
{{- if not (getenv "FRESHRSS_CURLOPT_SSL_VERIFYPEER" "true" | conv.ToBool) }}
CURLOPT_SSL_VERIFYPEER => {{ getenv "FRESHRSS_CURLOPT_SSL_VERIFYPEER" }},
{{- end }}
{{- if not (bool (getenv "FRESHRSS_CURLOPT_PROXYTYPE" "true")) }}
{{- if not (getenv "FRESHRSS_CURLOPT_PROXYTYPE" "true" | conv.ToBool) }}
CURLOPT_PROXYTYPE => {{ getenv "FRESHRSS_CURLOPT_PROXYTYPE" }},
{{- end }}
{{- if not (bool (getenv "FRESHRSS_CURLOPT_PROXY" "true" )) }}
{{- if not (getenv "FRESHRSS_CURLOPT_PROXY" "true" | conv.ToBool ) }}
CURLOPT_PROXY => '{{ getenv "FRESHRSS_CURLOPT_PROXY" }}',
{{- end }}
{{- if not (bool (getenv "FRESHRSS_CURLOPT_PROXYPORT" "true" )) }}
{{- if not (getenv "FRESHRSS_CURLOPT_PROXYPORT" "true" | conv.ToBool ) }}
CURLOPT_PROXYPORT => {{ getenv "FRESHRSS_CURLOPT_PROXYPORT" }},
{{- end }}
{{- if not (bool (getenv "FRESHRSS_CURLOPT_PROXYAUTH" "true" )) }}
{{- if not (getenv "FRESHRSS_CURLOPT_PROXYAUTH" "true" | conv.ToBool ) }}
CURLOPT_PROXYAUTH => {{ getenv "FRESHRSS_CURLOPT_PROXYAUTH" }},
{{- end }}
{{- if not (bool (getenv "FRESHRSS_CURLOPT_PROXYUSERPWD" "true" )) }}
{{- if not (getenv "FRESHRSS_CURLOPT_PROXYUSERPWD" "true" | conv.ToBool ) }}
CURLOPT_PROXYUSERPWD => '{{ getenv "FRESHRSS_CURLOPT_PROXYUSERPWD" }}',
{{- end }}
),
@ -71,4 +71,10 @@ return array(
),
'disable_update' => true,
'trusted_sources' => [
{{- range (getenv "FRESHRSS_TRUSTED_SOURCES" "127.0.0.0/8,::1/128" | strings.Split ",") }}
'{{ . | strings.TrimSpace }}',
{{- end }}
]
);

View File

@ -1,15 +1,15 @@
<?php
safe_define('FRESHRSS_USERAGENT', 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')');
safe_define('PHP_COMPRESSION', false);
safe_define('COPY_SYSLOG_TO_STDERR', true);
safe_define('MAX_LOG_SIZE', 1048576);
safe_define('DATA_PATH', FRESHRSS_PATH . '/data');
define('FRESHRSS_USERAGENT', 'FreshRSS/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ')');
define('PHP_COMPRESSION', false);
define('COPY_SYSLOG_TO_STDERR', true);
define('MAX_LOG_SIZE', 1048576);
define('DATA_PATH', FRESHRSS_PATH . '/data');
safe_define('UPDATE_FILENAME', DATA_PATH . '/update.php');
safe_define('USERS_PATH', DATA_PATH . '/users');
safe_define('ADMIN_LOG', USERS_PATH . '/_/log.txt');
safe_define('API_LOG', USERS_PATH . '/_/log_api.txt');
safe_define('CACHE_PATH', DATA_PATH . '/cache');
safe_define('PSHB_LOG', USERS_PATH . '/_/log_pshb.txt');
safe_define('PSHB_PATH', DATA_PATH . '/PubSubHubbub');
safe_define('TMP_PATH', CACHE_PATH);
define('UPDATE_FILENAME', DATA_PATH . '/update.php');
define('USERS_PATH', DATA_PATH . '/users');
define('ADMIN_LOG', USERS_PATH . '/_/log.txt');
define('API_LOG', USERS_PATH . '/_/log_api.txt');
define('CACHE_PATH', DATA_PATH . '/cache');
define('PSHB_LOG', USERS_PATH . '/_/log_pshb.txt');
define('PSHB_PATH', DATA_PATH . '/PubSubHubbub');
define('TMP_PATH', CACHE_PATH);

View File

@ -19,9 +19,9 @@ implicit_flush = Off
unserialize_callback_func =
serialize_precision = 17
open_basedir = "/var/www/app:/var/lib/php/tmp_upload:/var/lib/php/session:/var/lib/php/soap_cache"
open_basedir = "/var/www/app:/var/lib/php/tmp_upload:/var/lib/php/session:/var/lib/php/soap_cache:/tmp"
disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, move_uploaded_file, chmod, rename, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo
disable_functions = system, exec, shell_exec, phpinfo, show_source, highlight_file, popen, proc_open, fopen_with_path, dbmopen, dbase_open, move_uploaded_file, chmod, filepro, filepro_rowcount, filepro_retrieve, posix_mkfifo
disable_classes =
;highlight.string = #DD0000
@ -86,12 +86,12 @@ default_charset = "UTF-8"
;input_encoding =
;output_encoding =
;include_path = ".:/php7/includes"
;include_path = ".:/php81/includes"
doc_root =
user_dir =
extension_dir = "/usr/lib/php7/modules"
extension_dir = "/usr/lib/php81/modules"
;sys_temp_dir = "/tmp"
enable_dl = Off
@ -250,7 +250,7 @@ pgsql.log_notice = 0
bcmath.scale = 0
[browscap]
browscap = /etc/php7/browscap.ini
browscap = /etc/php81/browscap.ini
[Session]
session.save_handler = files
@ -327,7 +327,7 @@ zend.assertions = -1
;exif.decode_jis_intel = JIS
[Tidy]
;tidy.default_config = /usr/local/lib/php7/default.tcfg
;tidy.default_config = /usr/local/lib/php81/default.tcfg
tidy.clean_output = Off
[soap]

View File

@ -1,40 +1,61 @@
#!/usr/bin/env sh
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl
/usr/local/bin/gomplate -V -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl
/usr/local/bin/gomplate -V -o /var/www/app/constants.local.php -f /etc/templates/constants.local.php.tmpl
# shellcheck disable=SC1091
. /usr/local/lib/log.sh
/usr/local/bin/gomplate -o /etc/php81/php.ini -f /etc/templates/php.ini.tmpl
/usr/local/bin/gomplate -o /var/www/app/constants.local.php -f /etc/templates/constants.local.php.tmpl
if [ -n "${FRESHRSS_POSTGRES_SSL_ROOTCERT}" ] && [ ! -f "/var/www/.postgresql/root.crt" ]; then
ln -s "${FRESHRSS_POSTGRES_SSL_ROOTCERT}" /var/www/.postgresql/root.crt
fi
printf "\nPrepare FreshRSS...\n"
PREP=$(/usr/bin/php -f ./cli/prepare.php)
if [ $? -ne 0 ]; then
echo "$PREP"
exit 1
log_info "Prepare FreshRSS"
/usr/bin/php -f ./cli/prepare.php >/dev/null 2>&1
ERROR=$(/usr/bin/php -f ./cli/do-install.php -- --api_enabled \
--base_url "${FRESHRSS_BASE_URL:-http://localhost/}" \
--db-base "${FRESHRSS_DB_BASE}" \
--db-host "${FRESHRSS_DB_HOST:-localhost}" \
--db-password "${FRESHRSS_DB_PASSWORD}" \
--db-type "${FRESHRSS_DB_TYPE:-sqlite}" \
--db-user "${FRESHRSS_DB_USER}" \
--default_user "${FRESHRSS_DEFAULT_USER:-admin}" \
--language "${FRESHRSS_LANGUAGE:-en}" \
2>&1)
EXITCODE=$?
if [ $EXITCODE -eq 3 ]; then
log_info "FreshRSS already installed, skipped"
elif [ $EXITCODE -eq 0 ]; then
log_info "FreshRSS successfully installed"
else
log_error "FreshRSS error during installation: ${ERROR}"
exit $EXITCODE
fi
if [ "${FRESHRSS_DEFAULT_USER}" ]; then
printf "\nEnsure default user exists...\n"
UCREATE=$(/usr/bin/php ./cli/create-user.php --user "$FRESHRSS_DEFAULT_USER" --password "$FRESHRSS_DEFAULT_PASSWORD" 2>&1)
if [ $? -ne 0 ]; then
case "$UCREATE" in
*"username already taken"*) ;;
*)
echo "$UCREATE"
rm -rf "/var/www/app/data/users/$FRESHRSS_DEFAULT_USER"
exit 1
;;
esac
fi
printf "Result: success\n\n"
log_info "Ensure default user exists"
ERROR=$(/usr/bin/php ./cli/create-user.php \
--user "${FRESHRSS_DEFAULT_USER:-admin}" \
--password "${FRESHRSS_DEFAULT_PASSWORD:-freshrss}" \
--language "${FRESHRSS_LANGUAGE:-en}" \
2>&1)
EXITCODE=$?
if [ $EXITCODE -eq 3 ]; then
log_info "FreshRSS user already exists, skipped"
elif [ $EXITCODE -eq 0 ]; then
log_info "FreshRSS user successfully created"
./cli/list-users.php | xargs -n1 ./cli/actualize-user.php --user "${FRESHRSS_DEFAULT_USER:-admin}"
./cli/access-permissions.sh
else
log_error "FreshRSS error during the creation of a user: ${ERROR}"
exit $EXITCODE
fi
if [ -f "/var/www/app/data/do-install.txt" ]; then
rm -rf /var/www/app/data/do-install.txt
fi
/usr/local/bin/gomplate -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl
log_info "Start FreshRSS Server\n"
supercronic /etc/crontabs/nginx &
php-fpm7 -F &
php-fpm81 -F &
exec nginx -g "daemon off;"

View File

@ -1,3 +1,12 @@
#!/usr/bin/env sh
(php -r "readfile('http://localhost:8080/i/');" | grep -q 'jsonVars') || exit 1
# shellcheck disable=SC3040
set -eo pipefail
if [ "$(gomplate -i '{{ getenv "FRESHRSS_API_ENABLED" "false" | conv.ToBool }}')" = "true" ]; then
(php -r "readfile('http://127.0.0.1:8080/api/fever.php');" | grep -q 'api_version') || exit 1
else
(php -r "readfile('http://127.0.0.1:8080/i/');" | grep -q 'jsonVars') || exit 1
fi
exit 0

4
renovate.json Normal file
View File

@ -0,0 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>thegeeklab/renovate-presets:docker"]
}