Skip to content

Commit e7b72bf

Browse files
drptblguibescos
andauthored
docker: add restart on-failure (#792)
* docker: restart on-failure Signed-off-by: Jakub Mucha <[email protected]> * Fix precommit --------- Signed-off-by: Jakub Mucha <[email protected]> Co-authored-by: Guillermo Bescos <[email protected]>
1 parent e248be5 commit e7b72bf

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

price_service/server/docker-compose.mainnet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ services:
22
spy:
33
# Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
44
image: ghcr.io/wormhole-foundation/guardiand:v2.14.8.1
5+
restart: on-failure
56
command:
67
- "spy"
78
- "--nodeKey"
@@ -17,6 +18,7 @@ services:
1718
price-service:
1819
# Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
1920
image: public.ecr.aws/pyth-network/xc-server:v3.0.0
21+
restart: on-failure
2022
# Or alternatively use a locally built image
2123
# image: pyth_price_server
2224
environment:

price_service/server/docker-compose.testnet.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ services:
22
spy:
33
# Find latest Guardian images in https://github.com/wormhole-foundation/wormhole/pkgs/container/guardiand
44
image: ghcr.io/wormhole-foundation/guardiand:v2.14.8.1
5+
restart: on-failure
56
command:
67
- "spy"
78
- "--nodeKey"
@@ -17,6 +18,7 @@ services:
1718
price-service:
1819
# Find latest price service images https://gallery.ecr.aws/pyth-network/xc-server
1920
image: public.ecr.aws/pyth-network/xc-server:v3.0.0
21+
restart: on-failure
2022
# Or alternatively use a locally built image
2123
# image: pyth_price_server
2224
environment:

0 commit comments

Comments
 (0)