Commit graph

75 commits

Author SHA1 Message Date
jo
a63c9db168 ci: use buildx bake in docker build job
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2350>
2023-06-12 13:06:17 +02:00
petitminion
2db8c585ad feat: implement typesense container 2023-05-17 15:48:02 +00:00
Georg Krause
c48b62da94 Merge branch 'pre-release/1.3.0' into develop 2023-05-12 09:21:47 +02:00
Georg krause
6057670105 fix: Make sure tzdata is available in docker container 2023-04-27 07:57:24 +00:00
jo
83b2aa0ad8
fix(api): move docker cache settings to django settings 2023-04-14 13:17:55 +02:00
Georg Krause
e87811c554 chore(docker): bump py3-cryptography to version 38.0.3-r1
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2379>
2023-03-25 11:48:14 +01:00
Marcos Peña
c55a1d1da4 Fix(dev): fix docker development set-up (#2102)
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2367>
2023-03-20 11:23:51 +00:00
jo
f4241241dc fix: remove unnecessary env variables in dockerfile
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2299>
2023-01-30 08:55:06 +00:00
jo
65df7bf7a4 refactor: format api container file
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2299>
2023-01-30 08:55:06 +00:00
jo
c07aa0dbec fix(api): postgres connection details in docker setup
We properly recognize the docker setup to generate DATABASE_URL configuration.

Fix #2036

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2326>
2023-01-23 08:51:16 +01:00
jo
ede69dd623 refactor(api): rename api composer/django/ dir to docker/
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2302>
2023-01-17 11:54:27 +00:00
jo
efbdc027ab
fix: use versioned python3 instead of python 2023-01-13 16:55:05 +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
165011ff6d
feat: improve docker caching
The apk dependencies will change less often than the venv from the builder.
2023-01-12 13:35:23 +01:00
jo
e93e6bbb74
style: sort apk dependencies in docker 2023-01-12 13:35:22 +01:00
jo
0e05587fed
style: readability for docker pip dependencies install 2023-01-12 13:35:22 +01:00
jo
0b4319656a
feat: install api python package inside docker
This mainly allow users to use the `funkwhale-manage` entrypoint.
2023-01-12 13:35:22 +01:00
jo
64f54fa709
feat: disable pip cache during docker build 2023-01-12 13:35:21 +01:00
jo
85d4bd60d9
feat: don't buffer stdout/err in docker
This makes sure we don't loose any logs that might have been buffered and haven't been written to the docker logs.
2023-01-12 13:35:21 +01:00
jo
44904d80be
feat: don't compile python byte code in docker 2023-01-12 13:35:21 +01:00
jo
5c0284e3b1 fix: remove permissions workaround in api container
The permissions in the CI are now the same as in the repository.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2298>
2023-01-04 07:29:24 +00:00
Georg Krause
36e3d33174
chore(api): Bump lxml version to 4.9.2 2022-12-19 16:23:10 +01:00
JuniorJPDJ
0c6cc0ec5b chore(api/Dockerfile): pin alpine dependencies and bump watchfiles 2022-11-23 10:43:06 +00:00
JuniorJPDJ
c458bfe547 fix(api/Dockerfile): use psycopg2 from alpine repository 2022-11-22 22:49:30 +01:00
RenovateBot
abfa971eb5 Update alpine Docker tag to v3.17 (develop) 2022-11-17 15:30:41 +00:00
JuniorJPDJ
c4367466bc fix(api/Dockerfile): remove autobahn dependency pin after upgrading cryptography 2022-11-09 18:58:58 +00:00
Jacek Pruciak
90d878a340 fix(api/Dockerfile): fix a typo in pip package name 2022-11-03 13:01:53 +01:00
Jacek Pruciak
46fdf6d167 fix: armv7 builds by downgrading uvicorn and pinning watchgod 2022-11-01 19:33:56 +00:00
Jacek Pruciak
0168632ad9 fix(api/Dockerfile): bump cryptography to 3.4.8 2022-10-30 14:24:52 +01:00
JuniorJPDJ
aad853f6b0 refactor(api/Dockerfile): move var default values to Dockerfile 2022-07-25 20:59:30 +00:00
JuniorJPDJ
96c2eacb0f Cleanup Gitlab CI and Dockerfiles 2022-07-11 20:20:16 +00:00
Georg Krause
935270684e
Add libldap to docker image 2022-06-20 22:56:28 +02:00
Georg Krause
be02ebfb52
Install poetry from alpine repositories 2022-06-11 23:57:17 +02:00
RenovateBot
e8b41fd06f Update dependency alpine to v3.16 (develop) 2022-06-11 21:05:46 +00:00
Georg Krause
0f397f0e60
Do not install pip as system package to avoid dependency clash 2022-03-02 10:52:54 +01:00
Georg Krause
db7fc7818d
Install poetry only in additional docker stage to export dependencies 2022-03-01 19:59:17 +01:00
Georg Krause
a3408d7625
Install missing pip in docker 2022-03-01 15:06:48 +01:00
Georg Krause
b572c1f95a
Install poetry using pip instead of script 2022-03-01 13:48:10 +01:00
Georg Krause
fb5fe48364
Use same alpine version for Build and Final 2022-01-30 23:47:09 +01:00
Georg Krause
c582ac978d
Switch to alpine 3.14 to prevent openldap issues 2022-01-30 20:52:45 +01:00
JuniorJPDJ
6ab4ca7c19 Pin autobahn to 21.2.1 2022-01-30 13:06:11 +01:00
JuniorJPDJ
f50be59a3d Fix autobahn pinning for docker installs 2022-01-30 12:04:11 +01:00
Georg Krause
0c6caceb37
Pin autobahn for docker installs to get around dependency clash 2022-01-30 10:40:06 +01:00
Renovate Bot
edfeffffa9 Update alpine Docker tag to v3.15 2022-01-29 19:17:47 +00:00
Georg Krause
9ed3c8ee15
Fix syntax error 2022-01-19 15:16:03 +01:00
Georg Krause
cc73485895
Install poetry using the official installer 2022-01-19 15:15:50 +01:00
Georg Krause
5bb28c5264 Add comments for better understanding 2022-01-19 08:53:47 +00:00
Georg Krause
7068cb48e2 Build docker image with poetry managed dependencies 2022-01-19 08:53:47 +00:00
JuniorJPDJ
f1e86e4cae Fix docker pinned dependency 2021-12-13 21:21:20 +01:00
JuniorJPDJ
f5cc8a09b0 Pin docker cryptography dependency to alpine's version 2021-12-13 21:18:14 +01:00