neobooru
da425afc49
Pin pillow-avif-plugin to compatible version range
2024-02-21 17:47:27 +01:00
Zak B. Elep
c292b96f06
server/net: use yt-dlp instead of youtube-dl
...
youtube-dl no longer even gets URLs properly, so switch to yt-dlp as a
drop-in replacement for it.
2023-08-17 20:41:50 +08:00
Shyam Sunder
e746f09911
server: fix build error due to broken pip requirements
...
Pinned pyheif to v0.6.1
2022-03-31 18:43:37 -04:00
noirscape
82541536af
Make waitress thread count configurable.
...
This should fix most scaling problems without needing to start
more server instances. By default, waitress maintains at most
4 threads. This works fine if the database is small (sub 100k posts)
but causes a large Task queue depth to occur if the database is larger.
Letting users increase the amount of threads means that one server instance
is able to handle more requests without locking up the rest of the site.
This adds a new environment variable to .env, THREADS, which can be used to
configure the amount of threads to start and is by default set to 4
(the default amount used by waitress).
2022-02-14 17:33:23 -05:00
Shyam Sunder
a22485afda
server/func/images: upgrade to heif-image-plugin
2022-02-08 09:58:33 -05:00
Shyam Sunder
c3b81371d8
client+server/docker: fix ARM build platform issue
2021-09-19 12:03:32 -04:00
neobooru
f497dca92f
server: update docker image base to alpine:3.13
...
We do this so that we don't have to use 'edge' packages, which aren't (always) ABI compatible
2021-06-01 18:20:51 +02:00
Ruin0x11
2949431d9a
Add libheif/libavif to Dockerfile dependencies
2021-05-07 22:25:59 -07:00
Shyam Sunder
c7461c7f65
server/net: improve youtube-dl functionality, enforce size limits
2021-01-05 17:05:57 -05:00
Shyam Sunder
0dd427755b
client+server: fix linter issues due to updated pre-commit hooks
2020-09-01 14:07:39 -04:00
Shyam Sunder
e656a3c46a
server/docker: unify test and main Dockerfiles
2020-08-28 14:43:10 -04:00
Shyam Sunder
48c9001194
server/docker: include setuptools in installation
2020-06-04 18:51:30 -04:00
Shyam Sunder
ea675d20cb
server/docker: fix missing installation requirements
...
Furthermore, an update to Pillow has improved the floating-point
precision of the image hash algorithm, requiring minor updates to
the respective unit tests.
See https://github.com/python-pillow/Pillow/pull/4320
2020-06-04 16:38:26 -04:00
Shyam Sunder
99a69333e6
server/posts/upload: Add youtube-dl functionality
...
allows for video-based posts to be created by using youtube-dl
on the server. Access is controlled with the 'uploads:use_downloader'
permission.
2020-04-03 13:11:54 -04:00
Shyam Sunder
1a8de9ef3a
all: purge remaining elasticsearch artifacts
2020-03-13 22:45:11 -04:00
Shyam Sunder
dce7136f15
server/docker: update renamed dependency pyrfc3339
2020-01-12 12:29:25 -05:00
Shyam Sunder
9c04400369
docker: added OCI-compatible image labels
...
See https://github.com/opencontainers/image-spec/blob/master/annotations.md
2019-10-04 19:52:57 -04:00
Shyam Sunder
4fe9c5f4ca
server/docker: use Alpine-based image for space savings
2019-09-29 19:22:43 -04:00
Shyam Sunder
edf9083552
server/docker: improved Dockerfile
2019-09-27 23:15:34 -04:00
Shyam Sunder
dd56c287b5
server/facade: integrated elasticsearch wait into entrypoint
2019-09-21 14:22:07 -04:00
Shyam Sunder
9329717335
server/docker: Rewrite how files are copied in Docker
...
This is in preperation of a future commit that will perform
the unit tests in a docker container
2019-07-27 14:34:58 -04:00
rr-
45b6df020a
build: fix paths to config files
2018-08-04 13:19:02 +02:00
Shyam Sunder
6a6c4dc822
build: add Docker functionality and documentation
2018-07-25 13:39:57 +02:00