jo
14b5e137bd
feat: prefer using the funkwhale-manage entrypoint
...
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`.
Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments.
In the funkwhale api docker image, the funwhale-manage command line
interface is available globally.
2023-01-16 02:11:07 +01:00
Georg Krause
62653a2f62
chore: Move database url composition from custom script to django settings
...
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2313 >
2023-01-12 18:23:50 +00:00
jo
d47fef0806
chore: fix shell scripts lint errors
2022-11-25 19:43:50 +00:00
jo
054a9e54f5
docs: fix spelling errors (pre-commit)
2022-11-24 01:43:36 +01:00
JuniorJPDJ
7e7cd25fa3
feat(api/Docker): automatically run migrations on container start
...
migrations do nothing when there's nothing to do and this allows easier version upgrades
2022-07-25 20:59:30 +00:00
JuniorJPDJ
aad853f6b0
refactor(api/Dockerfile): move var default values to Dockerfile
2022-07-25 20:59:30 +00:00
JuniorJPDJ
9a3cf4e1dd
Allow running docker container as non-root
2021-09-20 07:30:22 +00:00
Eliot Berriot
28b334ad33
Reduce DB connection leaks
2019-10-17 15:17:26 +02:00
Eliot Berriot
4de78995c0
Fix #862 : replaced Daphne by Gunicorn/Uvicorn
2019-06-19 10:26:09 +02:00
Eliot Berriot
d9d96a85cf
Avoid triggering an HTTP request for frontend HTML in docker
2019-05-09 12:07:11 +02:00
Eliot Berriot
685d115960
fixed wrong daphne path
2019-01-21 14:15:31 +01:00
Eliot Berriot
0d461bef5e
Based Docker image on alpine to have a smaller (and faster to build) image
2019-01-21 13:54:46 +01:00
Eliot Berriot
29645aab1d
Added documentation page on how to reduce memory usage.
2018-04-28 16:17:29 +02:00
Eliot Berriot
99e7e98bae
Fixed broken dev entrypoint
2018-03-31 16:25:23 +02:00
Eliot Berriot
99f33dd392
Make api docker image able to run tests
2018-03-12 23:07:08 +01:00
Eliot Berriot
20d8daa115
More generic entrypoint to work with non-compose setups
2018-03-06 13:15:53 +01:00
Eliot Berriot
eef2ff3f9a
Fixed broken daphne and removed useless templates
2018-03-04 16:05:41 +01:00
Eliot Berriot
7f7a62cfa2
Replaced gunicorn with daphne
2018-03-03 10:52:48 +01:00
Eliot Berriot
d63e7677e4
WIP: Debian installation instructions
2017-07-20 23:30:25 +02:00
Eliot Berriot
bab3981d25
Fixed #15 : Ensure we check for authorization for serving audio files, meaning we don't leak the absolute URL anymore
2017-06-28 23:31:43 +02:00
Eliot Berriot
38f22dab94
Should now copy the frontend files in a dedicated directory on container startup so they can be reached from outside
2017-06-28 20:21:55 +02:00
Eliot Berriot
76f98b74dd
Initial commit that merge both the front end and the API in the same repository
2017-06-23 23:00:42 +02:00