Add restart to graph-node container

This commit is contained in:
Nabarun 2024-07-04 16:00:55 +05:30 committed by Prathamesh Musale
parent 4439730ad2
commit add7858cd2

View File

@ -1,5 +1,6 @@
services: services:
graph-node: graph-node:
restart: unless-stopped
image: cerc/graph-node:local image: cerc/graph-node:local
depends_on: depends_on:
db: db:
@ -40,6 +41,7 @@ services:
retries: 10 retries: 10
start_period: 3s start_period: 3s
ipfs: ipfs:
restart: unless-stopped
image: ipfs/kubo:master-2023-02-20-714a968 image: ipfs/kubo:master-2023-02-20-714a968
volumes: volumes:
- ipfs-import:/import - ipfs-import:/import
@ -49,6 +51,7 @@ services:
- "4001" - "4001"
- "5001" - "5001"
db: db:
restart: unless-stopped
image: postgres:14-alpine image: postgres:14-alpine
volumes: volumes:
- db-data:/var/lib/postgresql/data - db-data:/var/lib/postgresql/data