mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
Update docker-compose.yml
This commit is contained in:
parent
9b9757c11f
commit
017bea748a
@ -23,7 +23,7 @@ secrets:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
jikan_rest:
|
jikan_rest:
|
||||||
image: "jikanme/jikan-rest:${_JIKAN_API_VERSION:-latest}"
|
image: "docker.io/jikanme/jikan-rest:${_JIKAN_API_VERSION:-latest}"
|
||||||
user: "${APP_UID:-10001}:${APP_GID:-10001}"
|
user: "${APP_UID:-10001}:${APP_GID:-10001}"
|
||||||
networks:
|
networks:
|
||||||
- jikan_network
|
- jikan_network
|
||||||
@ -116,7 +116,3 @@ services:
|
|||||||
- typesense-data:/data
|
- typesense-data:/data
|
||||||
ports:
|
ports:
|
||||||
- "8108/tcp"
|
- "8108/tcp"
|
||||||
healthcheck:
|
|
||||||
test: [ 'CMD-SHELL', '{ ! [ -f "curl_created" ] && apt -qq update -y && apt -qq install -y curl && touch curl_created && curl -s -f http://localhost:8108/health; } || { curl -s -f http://localhost:8108/health; }' ]
|
|
||||||
interval: 5s
|
|
||||||
timeout: 2s
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user