Guest User

Untitled

a guest
Oct 24th, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. version: '3'
  2. services:
  3. airflow:
  4. image: barrachri/pyconde2018_airflow:latest
  5. restart: always
  6. depends_on:
  7. - postgres
  8. environment:
  9. - POSTGRES_USER=airflow
  10. - POSTGRES_PASSWORD=airflow
  11. - POSTGRES_DB=airflow
  12. - POSTGRES_HOST=postgres
  13. - POSTGRES_PORT=5432
  14. - AIRFLOW__CORE__EXECUTOR=LocalExecutor
  15. - AIRFLOW__CORE__SQL_ALCHEMY_CONN=postgresql+psycopg2://airflow:airflow@postgres:5432/airflow
  16.  
  17. volumes:
  18. - ./airflow/src/dags:/usr/local/airflow/dags
  19. ports:
  20. - "8080:8080"
  21. command: webserver
  22. healthcheck:
  23. test: ["CMD-SHELL", "[ -f /usr/local/airflow/airflow-webserver.pid ]"]
  24. interval: 30s
  25. timeout: 30s
  26. retries: 3
  27.  
  28. # db for airflow
  29. postgres:
  30. image: postgres:10.0
  31. environment:
  32. - POSTGRES_USER=airflow
  33. - POSTGRES_PASSWORD=airflow
  34. - POSTGRES_DB=airflow
  35.  
  36. # our streams
  37. redis:
  38. image: redis:5-alpine
  39. ports:
  40. - "6379:6379"
  41.  
  42. # our storage
  43. scylladb:
  44. image: scylladb/scylla:2.3.0
  45. ports:
  46. - "9042:9042"
  47.  
  48. # our storage
  49. minio:
  50. image: minio/minio:latest
  51. environment:
  52. MINIO_ACCESS_KEY: 123456789
  53. MINIO_SECRET_KEY: 123456789
  54. volumes:
  55. - ./minio:/export
  56. ports:
  57. - "9000:9000"
  58. command: server /export
Add Comment
Please, Sign In to add comment