Skip to content

Commit

Permalink
Merge pull request #199 from cityofaustin/restart-reconfig-and-remove…
Browse files Browse the repository at this point in the history
…-vscode-settings

Adjust restart policy and nix VSCode settings file
  • Loading branch information
frankhereford authored Jan 22, 2024
2 parents 9a8d366 + 551b71b commit bc4bfa2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ logs/*
*sql
.DS_Store
db/*

.vscode/*
14 changes: 0 additions & 14 deletions .vscode/settings.json

This file was deleted.

20 changes: 10 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ x-airflow-common: &airflow-common

services:
haproxy:
restart: always
restart: unless-stopped
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
Expand Down Expand Up @@ -68,7 +68,7 @@ services:
interval: 10s
retries: 5
start_period: 5s
restart: always
restart: unless-stopped

redis:
image: redis:latest
Expand All @@ -80,7 +80,7 @@ services:
timeout: 30s
retries: 50
start_period: 30s
restart: always
restart: unless-stopped

airflow-webserver:
<<: *airflow-common
Expand All @@ -91,7 +91,7 @@ services:
timeout: 10s
retries: 5
start_period: 30s
restart: always
restart: unless-stopped
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand All @@ -106,7 +106,7 @@ services:
timeout: 10s
retries: 5
start_period: 30s
restart: always
restart: unless-stopped
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand All @@ -128,7 +128,7 @@ services:
# Required to handle warm shutdown of the celery workers properly
# See https://airflow.apache.org/docs/docker-stack/entrypoint.html#signal-propagation
DUMB_INIT_SETSID: "0"
restart: always
restart: unless-stopped
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand All @@ -147,7 +147,7 @@ services:
timeout: 10s
retries: 5
start_period: 30s
restart: always
restart: unless-stopped
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand Down Expand Up @@ -254,7 +254,7 @@ services:
timeout: 10s
retries: 5
start_period: 30s
restart: always
restart: unless-stopped
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand All @@ -266,6 +266,6 @@ volumes:
knack-certs:
driver: local
driver_opts:
type: 'none'
o: 'bind'
type: "none"
o: "bind"
device: ${AIRFLOW_PROJ_DIR}/certs/knack

0 comments on commit bc4bfa2

Please sign in to comment.