fix
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
version: '3.8'
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
web:
|
||||
env_file:
|
||||
- stack.env
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
@ -21,7 +23,18 @@ services:
|
||||
- NEXTAUTH_URL=${NEXTAUTH_URL}
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health", "||", "exit", "1"]
|
||||
test:
|
||||
[
|
||||
"CMD",
|
||||
"wget",
|
||||
"--no-verbose",
|
||||
"--tries=1",
|
||||
"--spider",
|
||||
"http://localhost:3000/api/health",
|
||||
"||",
|
||||
"exit",
|
||||
"1",
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
Reference in New Issue
Block a user