Loading docker-celery-3.0.5/.env.p368 +2 −3 Original line number Diff line number Diff line #AIRFLOW_IMAGE_NAME=apache/airflow:3.0.4 #AIRFLOW_IMAGE_NAME=apache/airflow:3.0.5 AIRFLOW_IMAGE_NAME=csst-airflow AIRFLOW_UID=1000 AIRFLOW_PROJ_DIR=. _AIRFLOW_WWW_USER_USERNAME=airflow _AIRFLOW_WWW_USER_PASSWORD=airflow JWT_SECRET=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhaXJmbG93IiwiaWF0IjoxNzU1NDQ3NjMxLCJleHAiOjE3ODY5ODM2MzF9.CbxQayEt370iHhvYXhHMESsk1IWmi8QLMOcctIlbicXhybNtBbfboDUdUDMClwvkSuTjC0AOeSHL23pGyy0plQ MASTER_IP=10.73.0.11 JWT_SECRET=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhaXJmbG93IiwiaWF0IjoxNzU1NDQ3NjMxLCJleHAiOjE3ODY5ODM2MzF9.CbxQayEt370iHhvYXhHMESsk1IWmi8QLMOcctIlbicXhybNtBbfboDUdUDMClwvkSuTjC0AOeSHL23pGyy0plQ docker-celery-3.0.5/Makefile 0 → 100644 +37 −0 Original line number Diff line number Diff line all: down pull build init up pull: git pull mkdir: mkdir -p ./dags ./logs ./plugins ./config ./pg_data #echo -e "AIRFLOW_UID=$(id -u)" > .env rmdir: rm -rf ./logs ./plugins ./config ./pg_data build: docker build -t csst-airflow . --no-cache init: docker compose up airflow-init up: docker compose up -d down: docker compose down migrate: docker compose run --rm airflow-init airflow db upgrade clean: # 停止服务并清理旧数据 docker compose rm -sf ps: docker compose ps restart: docker compose restart docker-celery-3.0.5/docker-compose.original.yaml +2 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ # The following variables are supported: # # AIRFLOW_IMAGE_NAME - Docker image name used to run Airflow. # Default: apache/airflow:3.0.4 # Default: apache/airflow:3.0.5 # AIRFLOW_UID - User ID in Airflow containers # Default: 50000 # AIRFLOW_PROJ_DIR - Base path to which all the files will be volumed. Loading @@ -49,7 +49,7 @@ x-airflow-common: # In order to add custom dependencies or upgrade provider distributions you can use your extended image. # Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml # and uncomment the "build" line below, Then run `docker-compose build` to build the images. image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:3.0.4} image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:3.0.5} # build: . environment: &airflow-common-env Loading docker-celery-3.0.5/install.sh +2 −0 Original line number Diff line number Diff line docker build -t csst-airflow . --no-cache docker compose -f docker-compose.yaml --env-file .env.p368 --profile flower up --force-recreate docker compose -f docker-compose.yaml --env-file .env.p368 up worker Loading
docker-celery-3.0.5/.env.p368 +2 −3 Original line number Diff line number Diff line #AIRFLOW_IMAGE_NAME=apache/airflow:3.0.4 #AIRFLOW_IMAGE_NAME=apache/airflow:3.0.5 AIRFLOW_IMAGE_NAME=csst-airflow AIRFLOW_UID=1000 AIRFLOW_PROJ_DIR=. _AIRFLOW_WWW_USER_USERNAME=airflow _AIRFLOW_WWW_USER_PASSWORD=airflow JWT_SECRET=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhaXJmbG93IiwiaWF0IjoxNzU1NDQ3NjMxLCJleHAiOjE3ODY5ODM2MzF9.CbxQayEt370iHhvYXhHMESsk1IWmi8QLMOcctIlbicXhybNtBbfboDUdUDMClwvkSuTjC0AOeSHL23pGyy0plQ MASTER_IP=10.73.0.11 JWT_SECRET=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhaXJmbG93IiwiaWF0IjoxNzU1NDQ3NjMxLCJleHAiOjE3ODY5ODM2MzF9.CbxQayEt370iHhvYXhHMESsk1IWmi8QLMOcctIlbicXhybNtBbfboDUdUDMClwvkSuTjC0AOeSHL23pGyy0plQ
docker-celery-3.0.5/Makefile 0 → 100644 +37 −0 Original line number Diff line number Diff line all: down pull build init up pull: git pull mkdir: mkdir -p ./dags ./logs ./plugins ./config ./pg_data #echo -e "AIRFLOW_UID=$(id -u)" > .env rmdir: rm -rf ./logs ./plugins ./config ./pg_data build: docker build -t csst-airflow . --no-cache init: docker compose up airflow-init up: docker compose up -d down: docker compose down migrate: docker compose run --rm airflow-init airflow db upgrade clean: # 停止服务并清理旧数据 docker compose rm -sf ps: docker compose ps restart: docker compose restart
docker-celery-3.0.5/docker-compose.original.yaml +2 −2 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ # The following variables are supported: # # AIRFLOW_IMAGE_NAME - Docker image name used to run Airflow. # Default: apache/airflow:3.0.4 # Default: apache/airflow:3.0.5 # AIRFLOW_UID - User ID in Airflow containers # Default: 50000 # AIRFLOW_PROJ_DIR - Base path to which all the files will be volumed. Loading @@ -49,7 +49,7 @@ x-airflow-common: # In order to add custom dependencies or upgrade provider distributions you can use your extended image. # Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml # and uncomment the "build" line below, Then run `docker-compose build` to build the images. image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:3.0.4} image: ${AIRFLOW_IMAGE_NAME:-apache/airflow:3.0.5} # build: . environment: &airflow-common-env Loading
docker-celery-3.0.5/install.sh +2 −0 Original line number Diff line number Diff line docker build -t csst-airflow . --no-cache docker compose -f docker-compose.yaml --env-file .env.p368 --profile flower up --force-recreate docker compose -f docker-compose.yaml --env-file .env.p368 up worker