feat(docker): replace all-in-one image with FrankenPHP and Caddy based image + discard other images

- use serversideup/php as a base image
- remove nginx unit base
- remove app / webserver images
- add bundle stage to remove pipeline dependency
- update docker setup docs
- edit gitlabci rules and release logic
This commit is contained in:
Yassine Doghri 2026-02-15 19:32:01 +01:00
commit e5fb676cb6
No known key found for this signature in database
GPG key ID: 1F41CB39A01C099A
58 changed files with 5830 additions and 5318 deletions

View file

@ -371,7 +371,7 @@ class EpisodeModel extends UuidModel
$episodeCommentsCount = new EpisodeCommentModel()
->builder()
->select('episode_id, COUNT(*) as `comments_count`')
->where('in_reply_to_id', null)
->where('in_reply_to_id')
->groupBy('episode_id')
->getCompiledSelect();
@ -379,8 +379,8 @@ class EpisodeModel extends UuidModel
->builder()
->select('fediverse_posts.episode_id as episode_id, COUNT(*) as `comments_count`')
->join('fediverse_posts as fp', 'fediverse_posts.id = fp.in_reply_to_id')
->where('fediverse_posts.in_reply_to_id', null)
->where('fediverse_posts.episode_id IS NOT', null)
->where('fediverse_posts.in_reply_to_id')
->where('fediverse_posts.episode_id IS NOT')
->groupBy('fediverse_posts.episode_id')
->getCompiledSelect();
@ -404,7 +404,7 @@ class EpisodeModel extends UuidModel
$episodePostsCount = $this->builder()
->select('episodes.id, COUNT(*) as `posts_count`')
->join('fediverse_posts', 'episodes.id = fediverse_posts.episode_id')
->where('in_reply_to_id', null)
->where('in_reply_to_id')
->groupBy('episodes.id')
->get()
->getResultArray();