mirror of
https://github.com/woodchen-ink/webp_server_go.git
synced 2025-07-18 13:42:02 +08:00
Update root path welcome message and remove glib_malloc and jemalloc docker-compose files
This commit is contained in:
parent
a415bc90c7
commit
b6231118df
@ -30,7 +30,7 @@ func Convert(c *fiber.Ctx) error {
|
|||||||
|
|
||||||
// 处理根路径请求
|
// 处理根路径请求
|
||||||
if c.Path() == "/" {
|
if c.Path() == "/" {
|
||||||
return c.SendString("Welcome to WebP Server")
|
return c.SendString("Welcome to CZL WebP Server")
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -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
|
|
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user