mirror of
https://github.com/bitnami/containers.git
synced 2026-03-29 16:27:49 +08:00
69 lines
3.4 KiB
YAML
69 lines
3.4 KiB
YAML
version: '2'
|
|
services:
|
|
postgresql:
|
|
image: bitnami/postgresql:11
|
|
volumes:
|
|
- postgresql_data:/bitnami
|
|
environment:
|
|
- POSTGRESQL_DATABASE=bitnami_airflow
|
|
- POSTGRESQL_USERNAME=bn_airflow
|
|
- POSTGRESQL_PASSWORD=bitnami1
|
|
redis:
|
|
# A Red Hat Customer Portal login is required to access this image. If you do not have one already, you can obtain one at https://www.redhat.com/wapps/ugc/register.html
|
|
# Pull action should be successful from any RHEL Host system running the Docker service and executing the following command: docker login registry.connect.redhat.com
|
|
# + info: https://access.redhat.com/containers/?tab=images&platform=docker#/registry.connect.redhat.com/bitnami/redis
|
|
image: registry.connect.redhat.com/bitnami/redis
|
|
volumes:
|
|
- redis_data:/bitnami
|
|
environment:
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
|
airflow-worker:
|
|
# A Red Hat Customer Portal login is required to access this image. If you do not have one already, you can obtain one at https://www.redhat.com/wapps/ugc/register.html
|
|
# Pull action should be successful from any RHEL Host system running the Docker service and executing the following command: docker login registry.connect.redhat.com
|
|
# + info: https://access.redhat.com/containers/?tab=images&platform=docker#/registry.connect.redhat.com/bitnami/apache-airflow-worker
|
|
image: registry.connect.redhat.com/bitnami/apache-airflow-worker
|
|
environment:
|
|
- AIRFLOW_DATABASE_NAME=bitnami_airflow
|
|
- AIRFLOW_DATABASE_USER=bn_airflow
|
|
- AIRFLOW_DATABASE_PASSWORD=bitnami1
|
|
- AIRFLOW_EXECUTOR=CeleryExecutor
|
|
volumes:
|
|
- airflow_worker_data:/bitnami
|
|
airflow-scheduler:
|
|
# A Red Hat Customer Portal login is required to access this image. If you do not have one already, you can obtain one at https://www.redhat.com/wapps/ugc/register.html
|
|
# Pull action should be successful from any RHEL Host system running the Docker service and executing the following command: docker login registry.connect.redhat.com
|
|
# + info: https://access.redhat.com/containers/?tab=images&platform=docker#/registry.connect.redhat.com/bitnami/apache-airflow-scheduler
|
|
image: registry.connect.redhat.com/bitnami/apache-airflow-scheduler
|
|
environment:
|
|
- AIRFLOW_DATABASE_NAME=bitnami_airflow
|
|
- AIRFLOW_DATABASE_USER=bn_airflow
|
|
- AIRFLOW_DATABASE_PASSWORD=bitnami1
|
|
- AIRFLOW_EXECUTOR=CeleryExecutor
|
|
volumes:
|
|
- airflow_scheduler_data:/bitnami
|
|
airflow:
|
|
# A Red Hat Customer Portal login is required to access this image. If you do not have one already, you can obtain one at https://www.redhat.com/wapps/ugc/register.html
|
|
# Pull action should be successful from any RHEL Host system running the Docker service and executing the following command: docker login registry.connect.redhat.com
|
|
# + info: https://access.redhat.com/containers/?tab=images&platform=docker#/registry.connect.redhat.com/bitnami/airflow
|
|
image: registry.connect.redhat.com/bitnami/apache-airflow
|
|
environment:
|
|
- AIRFLOW_DATABASE_NAME=bitnami_airflow
|
|
- AIRFLOW_DATABASE_USER=bn_airflow
|
|
- AIRFLOW_DATABASE_PASSWORD=bitnami1
|
|
- AIRFLOW_EXECUTOR=CeleryExecutor
|
|
ports:
|
|
- '8080:8080'
|
|
volumes:
|
|
- airflow_data:/bitnami
|
|
volumes:
|
|
airflow_worker_data:
|
|
driver: local
|
|
airflow_scheduler_data:
|
|
driver: local
|
|
airflow_data:
|
|
driver: local
|
|
postgresql_data:
|
|
driver: local
|
|
redis_data:
|
|
driver: local
|