Updated compose file for better Docker integration
This commit is contained in:
parent
4a08a64dc9
commit
13dcd1ff52
1 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
|||
services:
|
||||
bot:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Containerfile
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
|
|
@ -13,7 +15,7 @@ services:
|
|||
- INTERVAL=${INTERVAL:-5000}
|
||||
- THRESHOLD=${THRESHOLD:-0.01}
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/health"]
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "http://localhost:3000/health"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Reference in a new issue