From 42ecf1f4cdee206410a94be21f7affcef81427ba Mon Sep 17 00:00:00 2001 From: Jared Rhizor Date: Mon, 17 May 2021 10:03:19 -0700 Subject: [PATCH] restart containers if they fail automatically (#3423) --- docker-compose.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yaml b/docker-compose.yaml index 169706ff9483..d4e8abf02933 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,6 +15,7 @@ services: db: image: airbyte/db:${VERSION} container_name: airbyte-db + restart: unless-stopped environment: - POSTGRES_USER=${DATABASE_USER} - POSTGRES_PASSWORD=${DATABASE_PASSWORD} @@ -30,6 +31,7 @@ services: scheduler: image: airbyte/scheduler:${VERSION} container_name: airbyte-scheduler + restart: unless-stopped environment: - WEBAPP_URL=${WEBAPP_URL} - WAIT_BEFORE_HOSTS=5 @@ -55,6 +57,7 @@ services: server: image: airbyte/server:${VERSION} container_name: airbyte-server + restart: unless-stopped environment: - WEBAPP_URL=${WEBAPP_URL} - WAIT_BEFORE_HOSTS=5 @@ -77,6 +80,7 @@ services: webapp: image: airbyte/webapp:${VERSION} container_name: airbyte-webapp + restart: unless-stopped ports: - 8000:80 environment: @@ -89,6 +93,7 @@ services: airbyte-temporal: image: temporalio/auto-setup:1.7.0 container_name: airbyte-temporal + restart: unless-stopped ports: - 7233:7233 environment: