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: ...@@ -120,7 +120,7 @@ test_api:
interruptible: true interruptible: true
services: services:
- postgres:11 - postgres:11
- redis:3 - redis:5
stage: test stage: test
image: funkwhale/funkwhale:develop image: funkwhale/funkwhale:develop
cache: cache:
......
...@@ -19,7 +19,18 @@ RUN \ ...@@ -19,7 +19,18 @@ RUN \
libffi-dev \ libffi-dev \
make \ make \
zlib-dev \ 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 ln -s /usr/bin/python3 /usr/bin/python
...@@ -29,10 +40,6 @@ COPY ./requirements/base.txt /requirements/base.txt ...@@ -29,10 +40,6 @@ COPY ./requirements/base.txt /requirements/base.txt
# hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072 # hack around https://github.com/pypa/pip/issues/6158#issuecomment-456619072
ENV PIP_DOWNLOAD_CACHE=/noop/ ENV PIP_DOWNLOAD_CACHE=/noop/
RUN \ RUN \
echo 'fixing requirements file for alpine' && \
sed -i '/Pillow/d' /requirements/base.txt && \
\
\
echo 'installing pip requirements' && \ echo 'installing pip requirements' && \
pip3 install --upgrade pip && \ pip3 install --upgrade pip && \
pip3 install setuptools wheel && \ pip3 install setuptools wheel && \
......
...@@ -219,7 +219,7 @@ class StripExifImageField(serializers.ImageField): ...@@ -219,7 +219,7 @@ class StripExifImageField(serializers.ImageField):
with io.BytesIO() as output: with io.BytesIO() as output:
image_without_exif.save( image_without_exif.save(
output, 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, quality=100,
) )
content = output.getvalue() content = output.getvalue()
......
...@@ -15,7 +15,7 @@ services: ...@@ -15,7 +15,7 @@ services:
networks: networks:
- default - default
env_file: .env env_file: .env
image: redis:3 image: redis:5
volumes: volumes:
- ./data/redis:/data - ./data/redis:/data
......
...@@ -33,7 +33,7 @@ services: ...@@ -33,7 +33,7 @@ services:
env_file: env_file:
- .env.dev - .env.dev
- .env - .env
image: redis:3.0 image: redis:5
volumes: volumes:
- "./data/${COMPOSE_PROJECT_NAME-node1}/redis:/data" - "./data/${COMPOSE_PROJECT_NAME-node1}/redis:/data"
networks: networks:
...@@ -152,7 +152,7 @@ services: ...@@ -152,7 +152,7 @@ services:
- "8001:8001" - "8001:8001"
api-docs: api-docs:
image: swaggerapi/swagger-ui:v3.21.0 image: swaggerapi/swagger-ui:v3.25
environment: environment:
- "API_URL=/swagger.yml" - "API_URL=/swagger.yml"
ports: 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