mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 21:52:01 +08:00
* runnable * convert is working * some refactoring * update go.mod * fix some TODOs * add TODO * update go mod * rebase onto master * fix #234 2: 5.9s - 7.6MB 4: 26s - 6.9MB * fix malloc tests * fix malloc tests * remote TODO * add X-Real-IP #236 * Better localRawImagePath * remove some wrong comments * Bump version to 0.9.0 --------- Co-authored-by: n0vad3v <n0vad3v@riseup.net>
14 lines
299 B
YAML
14 lines
299 B
YAML
version: '3'
|
|
|
|
services:
|
|
webp:
|
|
image: webpsh/webp-server-go
|
|
restart: always
|
|
environment:
|
|
- MALLOC_ARENA_MAX=1
|
|
- LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
|
|
volumes:
|
|
- ./pics:/opt/pics
|
|
- ./exhaust:/opt/exhaust
|
|
ports:
|
|
- 127.0.0.1:3333:3333 |