This commit is contained in:
Bivekich
2025-08-07 08:57:01 +03:00
parent 8ee7bc896d
commit 26276b3f27

View File

@ -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