Skip to content

Commit

Permalink
fix: add restart policies to all containers
Browse files Browse the repository at this point in the history
  • Loading branch information
zachblume committed May 21, 2024
1 parent 86dcba6 commit c31520b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ services:
catalog:
container_name: catalog
image: debezium/postgres:16-alpine
restart: unless-stopped
ports:
- 9901:5432
environment:
Expand All @@ -54,6 +55,7 @@ services:

temporal:
container_name: temporal
restart: unless-stopped
depends_on:
catalog:
condition: service_healthy
Expand All @@ -74,6 +76,7 @@ services:

temporal-admin-tools:
container_name: temporal-admin-tools
restart: unless-stopped
depends_on:
- temporal
environment:
Expand All @@ -95,6 +98,7 @@ services:

temporal-ui:
container_name: temporal-ui
restart: unless-stopped
depends_on:
- temporal
environment:
Expand All @@ -108,6 +112,7 @@ services:
flow-api:
container_name: flow_api
image: ghcr.io/peerdb-io/flow-api:latest-dev
restart: unless-stopped
ports:
- 8112:8112
- 8113:8113
Expand All @@ -120,6 +125,7 @@ services:
flow-snapshot-worker:
container_name: flow-snapshot-worker
image: ghcr.io/peerdb-io/flow-snapshot-worker:latest-dev
restart: unless-stopped
environment:
<<: [*catalog-config, *flow-worker-env, *minio-config]
depends_on:
Expand All @@ -129,6 +135,7 @@ services:
flow-worker:
container_name: flow-worker
image: ghcr.io/peerdb-io/flow-worker:latest-dev
restart: unless-stopped
environment:
<<: [*catalog-config, *flow-worker-env, *minio-config]
depends_on:
Expand All @@ -139,6 +146,7 @@ services:
container_name: peerdb-server
stop_signal: SIGINT
image: ghcr.io/peerdb-io/peerdb-server:latest-dev
restart: unless-stopped
environment:
<<: *catalog-config
PEERDB_LOG_DIR: /var/log/peerdb
Expand All @@ -155,6 +163,7 @@ services:
peerdb-ui:
container_name: peerdb-ui
image: ghcr.io/peerdb-io/peerdb-ui:latest-dev
restart: unless-stopped
ports:
- 3000:3000
environment:
Expand All @@ -168,6 +177,7 @@ services:

minio:
image: minio/minio
restart: unless-stopped
volumes:
- minio-data:/data
ports:
Expand Down

0 comments on commit c31520b

Please sign in to comment.