Commit Graph

28 Commits

Author SHA1 Message Date
Michael 703b69c4a8 feat(dockerfile): seeds db in dev with user permissions 2025-02-11 16:32:47 +01:00
Michael 0ada5cf38f feat(docker): php sockets 2025-02-07 16:13:01 +01:00
Michael 8d94b43d76 feat: added php.ini for dev and prod in dockerfile 2025-02-07 13:39:36 +01:00
Michael d2fc5b0efa fix(docker): added laravel migration in container 2025-02-06 18:26:27 +01:00
Michael d48200af4e feat(xdebug): added support for xdebug in container 2025-02-06 18:22:48 +01:00
Michael 013659e034 feat(docker): added xdebug support, run laravel job once 2025-02-06 13:59:44 +01:00
Michael 18ad58fd68 sintonia docker fix: dev container startup 2025-02-03 15:48:35 +01:00
Michael 35043d436f Dockerfile + docker-compose add: add dev sintonia_webapp container 2025-01-23 13:49:55 +01:00
Thomas Göttgens e095cb2a5f
fix: docker warnings "keywords casing do not match" (#3048)
### Description

docker wants the 'AS' in uppercase if the 'FROM' is also in uppercase

### Testing Notes

These warnings are eliminated with this patch

``` => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 5)                                                                                                                                    0.1s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 21)                                                                                                                                   0.1s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 51)                                                                                                                                   0.1s
 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 62)
[...]
```
2024-06-29 20:26:44 +01:00
Cristian Oneț d99d6e1a68
perf: optimize the api image health check (#3038)
### Description

Having curl installed in the API container improves operations and the
efficiency of the health check. Launching python to do a single http
call is an overkill.


Co-authored-by: Jonas L <jooola@users.noreply.github.com>
2024-06-22 13:18:50 +02:00
Jonas L 9c548b365e
feat: start celery worker programmatically (#2988)
### Description

Allow us to be more flexible with the option passed the celery worker,
for example, to change the logging level.
2024-04-13 21:03:57 +02:00
Jonas L 7040d0e4bd
fix: trigger legacy tasks manager every 5m (#2987)
### Description

This ensures that when the LibreTime interface is not used for a long
time, we still have the task manager run essential tasks for the
schedule.

Related to #2670
2024-04-13 19:12:45 +02:00
Jonas L 43221d9d7f
fix(api): move gunicorn worker config to python file (#2854)
### Description

Passing the --lifespan flag to gunicorn does not forward the option to
uvicorn.
2023-12-29 17:47:50 +01:00
Jonas L 8743c84d0f
feat: disable uvicorn worker lifespan (#2845)
### Description

Fix this Django exception: Django can only handle ASGI/HTTP connections,
not lifespan.
2023-12-28 14:00:58 +01:00
jo a587f179f8 Revert "chore(api): install django-rest-framework from git (#2518)"
This reverts commit df7848c4bd.
2023-05-26 11:07:13 +01:00
jo 3b4f9ef477 feat(api): install gunicorn/uvicorn from pip 2023-05-11 09:52:58 +01:00
Jonas L df7848c4bd
chore(api): install django-rest-framework from git (#2518) 2023-04-24 14:58:07 +01:00
jo 00ceb9bd46 fix: move docker specific setup to dockerfile 2023-03-15 11:52:00 +00:00
jo b7214b5d46 feat: add sentry sdk 2023-03-14 14:59:45 +00:00
Jonas L f9fc920d1f
chore: improve dockerfile run calls (#2273) 2022-12-07 15:29:30 +02:00
Jonas L 8a516c14c5
chore(deps): revert update python docker tag to v3.11 (#2245) (#2269)
This reverts commit d2d4ebdf82.
2022-12-07 10:39:18 +01:00
renovate[bot] d2d4ebdf82
chore(deps): update python docker tag to v3.11 (#2245)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-06 09:58:52 +02:00
Jonas L 96cc2b59f5
chore: reorder Dockerfile sections (#2189) 2022-09-27 08:15:41 +02:00
jo 09a75570f3 fix: include version variable inside containers 2022-09-26 13:25:35 +02:00
renovate[bot] 2cd07e0151 chore(deps): update python docker tag to v3.10 2022-09-15 18:31:56 +02:00
jo f34c9b3c5f chore: mount pip cache for container build 2022-09-15 10:06:48 +02:00
jo 4b30e0a5d4 chore: use same python image for builder 2022-09-15 10:06:48 +02:00
Kyle Robbertze 1da42b2603 feat: add container setup
- build container with multi-stage Dockerfile
- change api listen port to 9001
2022-09-14 11:09:52 +02:00