Update root path welcome message and remove glib_malloc and jemalloc docker-compose files

This commit is contained in:
wood chen 2024-10-16 15:11:52 +08:00
parent a415bc90c7
commit b6231118df
3 changed files with 1 additions and 28 deletions

View File

@ -30,7 +30,7 @@ func Convert(c *fiber.Ctx) error {
// 处理根路径请求
if c.Path() == "/" {
return c.SendString("Welcome to WebP Server")
return c.SendString("Welcome to CZL WebP Server")
}
var (

View File

@ -1,13 +0,0 @@
version: '3'
services:
webp:
image: webpsh/webp-server-go
restart: always
environment:
- MALLOC_ARENA_MAX=1
volumes:
- ./pics:/opt/pics
- ./exhaust:/opt/exhaust
ports:
- 127.0.0.1:3333:3333

View File

@ -1,14 +0,0 @@
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