Enable restart policy for openclaw gateway
This commit is contained in:
@@ -26,8 +26,10 @@ services:
|
|||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.hostname == tpi-n1
|
- node.hostname == tpi-n1
|
||||||
# restart_policy:
|
restart_policy:
|
||||||
# condition: unless-stopped
|
condition: unless-stopped
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
networks:
|
networks:
|
||||||
- dokploy-network
|
- dokploy-network
|
||||||
command:
|
command:
|
||||||
|
|||||||
Reference in New Issue
Block a user