Skip to content
Snippets Groups Projects
Verified Commit b07cc4c6 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Merge branch 'develop' of dev.funkwhale.audio:funkwhale/funkwhale into develop

parents c027c90e f575f79a
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ test_api:
interruptible: true
services:
- postgres:11
- redis:3
- redis:5
stage: test
image: funkwhale/funkwhale:develop
cache:
......
......@@ -19,7 +19,18 @@ RUN \
libffi-dev \
make \
zlib-dev \
openldap-dev && \
openldap-dev \
jpeg-dev \
zlib-dev \
freetype-dev \
lcms2-dev \
openjpeg-dev \
tiff-dev \
tk-dev \
tcl-dev \
harfbuzz-dev \
fribidi-dev \
&& \
\
\
ln -s /usr/bin/python3 /usr/bin/python
......@@ -29,10 +40,6 @@ COPY ./requirements/base.txt /requirements/base.txt
# hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072
ENV PIP_DOWNLOAD_CACHE=/noop/
RUN \
echo 'fixing requirements file for alpine' && \
sed -i '/Pillow/d' /requirements/base.txt && \
\
\
echo 'installing pip requirements' && \
pip3 install --upgrade pip && \
pip3 install setuptools wheel && \
......
......@@ -219,7 +219,7 @@ class StripExifImageField(serializers.ImageField):
with io.BytesIO() as output:
image_without_exif.save(
output,
format=PIL.Image.EXTENSION[os.path.splitext(file_obj.name)[-1]],
format=PIL.Image.EXTENSION[os.path.splitext(file_obj.name)[-1].lower()],
quality=100,
)
content = output.getvalue()
......
......@@ -15,7 +15,7 @@ services:
networks:
- default
env_file: .env
image: redis:3
image: redis:5
volumes:
- ./data/redis:/data
......
......@@ -33,7 +33,7 @@ services:
env_file:
- .env.dev
- .env
image: redis:3.0
image: redis:5
volumes:
- "./data/${COMPOSE_PROJECT_NAME-node1}/redis:/data"
networks:
......@@ -152,7 +152,7 @@ services:
- "8001:8001"
api-docs:
image: swaggerapi/swagger-ui:v3.21.0
image: swaggerapi/swagger-ui:v3.25
environment:
- "API_URL=/swagger.yml"
ports:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment