Skip to content

Instantly share code, notes, and snippets.

@bartosz25
Created July 12, 2019 04:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bartosz25/75b591af6808e8b5fcdad50f1fb0fac1 to your computer and use it in GitHub Desktop.
Save bartosz25/75b591af6808e8b5fcdad50f1fb0fac1 to your computer and use it in GitHub Desktop.
version: '3.1'
services:
webserver:
image: puckel/docker-airflow:1.9.0-3
environment:
- LOAD_EX=n
volumes:
- ./assets/dags:/usr/local/airflow/dags
ports:
- "8080:8080"
command: webserver
healthcheck:
test: ["CMD-SHELL", "[ -f /usr/local/airflow/airflow-webserver.pid ]"]
interval: 30s
timeout: 30s
retries: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment