Skip to content

Commit

Permalink
Added restart unless-stopped to Docker services
Browse files Browse the repository at this point in the history
  • Loading branch information
arjanz committed Sep 9, 2022
1 parent dfd85f1 commit 1bbc0d7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
context: explorer-api/.
dockerfile: ./docker/polling/Dockerfile
image: polkascan/explorer-polling
restart: unless-stopped
command: python polling.py
depends_on:
- redis
Expand All @@ -46,6 +47,7 @@ services:
context: explorer-api/.
dockerfile: ./docker/api/Dockerfile
image: polkascan/explorer-api
restart: unless-stopped
command: bash -c "/usr/src/start-api.sh"
ports:
- "8000:8000"
Expand Down Expand Up @@ -75,6 +77,7 @@ services:
build:
context: explorer-ui/.
image: polkascan/explorer-ui
restart: unless-stopped
ports:
- "8080:80"
depends_on:
Expand All @@ -83,6 +86,7 @@ services:

substrate-node:
image: arjanz/substrate-node-template:latest
restart: unless-stopped
volumes:
- 'substrate-node:/substrate'
ports:
Expand Down

0 comments on commit 1bbc0d7

Please sign in to comment.