mirror of
https://github.com/ION606/static-site-hosting.git
synced 2026-05-14 22:16:54 +00:00
added restart policy
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
deploy:
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 10
|
||||
window: 120s
|
||||
ports:
|
||||
- "5121:5121"
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user