Skip to content

Instantly share code, notes, and snippets.

View CribberSix's full-sized avatar

Cribber CribberSix

  • Germany
View GitHub Profile
docker container ls
@CribberSix
CribberSix / 0033.yml
Last active February 20, 2024 09:51
docker-compose.yml for a series of articles on my medium
version: "3"
services:
# scheduler & monitoring service
airflow-webserver:
hostname: myairflow
container_name: airflow_container
image: 'puckel/docker-airflow:1.10.9' # latest image as of 2021-11-08.
ports:
- '8085:8080'
version: "3"
services:
# scheduler & monitoring service
airflow-webserver:
hostname: myairflow
container_name: airflow_container
image: 'puckel/docker-airflow:1.10.9' # latest image as of 2021-11-08.
ports:
- '8085:8080'
healthcheck:
test: ["CMD", "curl", "-f", "http://myairflow:8080/admin/"]
interval: 30s
timeout: 20s
retries: 3
restart: on-failure
environment:
- NIFI_ZK_CONNECT_STRING=myzookeeper:2181
- NIFI_WEB_HTTP_PORT=8080
- NIFI_CLUSTER_IS_NODE=true
- NIFI_CLUSTER_NODE_PROTOCOL_PORT=8082
- NIFI_ELECTION_MAX_WAIT=1 min
- NIFI_SENSITIVE_PROPS_KEY='12345678901234567890A'
docker rm airflow_container
docker rm 2f369731750a
hostname: myairflow
container_name: airflow_container
networks:
- dataworld
ports:
- '8085:8080'