From 7fd3421bd84670dd3ffa91b8da90050203b16581 Mon Sep 17 00:00:00 2001 From: eugenioseveri Date: Wed, 6 Dec 2023 15:58:32 +0100 Subject: [PATCH 1/9] Added linter configuration readme for Pycharm --- configurations/python_linters/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/configurations/python_linters/README.md b/configurations/python_linters/README.md index fcf1ca3..eda44c6 100644 --- a/configurations/python_linters/README.md +++ b/configurations/python_linters/README.md @@ -54,3 +54,25 @@ In `.vscode/settings.json` "${workspaceFolder}/.github/configurations/python_linters/.black" ] } +``` + +- ### [PyCharm](https://www.jetbrains.com/pycharm/) +Linters can be run on demand as external tools in the IDE by adding their configurations under **File -> Settings... -> Tools -> External tools**. +Then, add a configuration for each linter by clicking on the **+** button (the working directory must be set to the folder where the `manage.py` file is). +After this configurations, the linters can be run from the menu **Tools -> External tools**. +* Flake8 + * _Name_: Flake8 + * _Program_: $PyInterpreterDirectory$/flake8 + * _Arguments_: $FilePath$ --config ../.github/configurations/python_linters/.flake8 + * _Working directory_: $ProjectFileDir$/DjangoMainProject +* Black + * _Name_: Black + * _Program_: $PyInterpreterDirectory$/black + * _Arguments_: --config ../.github/configurations/python_linters/.black $FilePath$ + * _Working directory_: $ProjectFileDir$/DjangoMainProject +* isort + * _Name_: isort + * _Program_: $PyInterpreterDirectory$/isort + * _Arguments_: --sp ../.github/configurations/python_linters/.isort.cfg --profile black $FilePath$ + * _Working directory_: $ProjectFileDir$/DjangoMainProject +With this configuration, the linters are run against the opened file in the editor; to do it against the whole codebase, change the variable *$FilePath$* to the Django root directory. From de987f19b884cfc9b53f00ab573c9d91554cc13c Mon Sep 17 00:00:00 2001 From: eugenioseveri Date: Wed, 6 Dec 2023 16:00:31 +0100 Subject: [PATCH 2/9] Fix rendering in linter configuration readme for Pycharm --- configurations/python_linters/README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/configurations/python_linters/README.md b/configurations/python_linters/README.md index eda44c6..feee3af 100644 --- a/configurations/python_linters/README.md +++ b/configurations/python_linters/README.md @@ -61,18 +61,18 @@ Linters can be run on demand as external tools in the IDE by adding their config Then, add a configuration for each linter by clicking on the **+** button (the working directory must be set to the folder where the `manage.py` file is). After this configurations, the linters can be run from the menu **Tools -> External tools**. * Flake8 - * _Name_: Flake8 - * _Program_: $PyInterpreterDirectory$/flake8 - * _Arguments_: $FilePath$ --config ../.github/configurations/python_linters/.flake8 - * _Working directory_: $ProjectFileDir$/DjangoMainProject + * _Name_: `Flake8` + * _Program_: `$PyInterpreterDirectory$/flake8` + * _Arguments_: `$FilePath$ --config ../.github/configurations/python_linters/.flake8` + * _Working directory_: `$ProjectFileDir$/DjangoMainProject` * Black - * _Name_: Black - * _Program_: $PyInterpreterDirectory$/black - * _Arguments_: --config ../.github/configurations/python_linters/.black $FilePath$ - * _Working directory_: $ProjectFileDir$/DjangoMainProject + * _Name_: `Black` + * _Program_: `$PyInterpreterDirectory$/black` + * _Arguments_: `--config ../.github/configurations/python_linters/.black $FilePath$` + * _Working directory_: `$ProjectFileDir$/DjangoMainProject` * isort - * _Name_: isort - * _Program_: $PyInterpreterDirectory$/isort - * _Arguments_: --sp ../.github/configurations/python_linters/.isort.cfg --profile black $FilePath$ - * _Working directory_: $ProjectFileDir$/DjangoMainProject + * _Name_: `isort` + * _Program_: `$PyInterpreterDirectory$/isort` + * _Arguments_: `--sp ../.github/configurations/python_linters/.isort.cfg --profile black $FilePath$` + * _Working directory_: `$ProjectFileDir$/DjangoMainProject` With this configuration, the linters are run against the opened file in the editor; to do it against the whole codebase, change the variable *$FilePath$* to the Django root directory. From b8990d818e152d36218d412bdf382147ba2ae069 Mon Sep 17 00:00:00 2001 From: eugenioseveri Date: Wed, 6 Dec 2023 16:01:02 +0100 Subject: [PATCH 3/9] Fix rendering in linter configuration readme for Pycharm --- configurations/python_linters/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/configurations/python_linters/README.md b/configurations/python_linters/README.md index feee3af..9399ec7 100644 --- a/configurations/python_linters/README.md +++ b/configurations/python_linters/README.md @@ -75,4 +75,5 @@ After this configurations, the linters can be run from the menu **Tools -> Exter * _Program_: `$PyInterpreterDirectory$/isort` * _Arguments_: `--sp ../.github/configurations/python_linters/.isort.cfg --profile black $FilePath$` * _Working directory_: `$ProjectFileDir$/DjangoMainProject` + With this configuration, the linters are run against the opened file in the editor; to do it against the whole codebase, change the variable *$FilePath$* to the Django root directory. From 8b1316daab8e3a9c48b2b64643cf8c8f4e54905a Mon Sep 17 00:00:00 2001 From: eugenioseveri Date: Mon, 11 Dec 2023 10:02:20 +0100 Subject: [PATCH 4/9] Added supported variables to pull_request_automation.yml --- workflows/pull_request_automation.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/workflows/pull_request_automation.yml b/workflows/pull_request_automation.yml index 46ac709..2b54a0f 100644 --- a/workflows/pull_request_automation.yml +++ b/workflows/pull_request_automation.yml @@ -76,10 +76,19 @@ jobs: check_dockerfile: Dockerfile use_postgres: false + postgres_db: db + postgres_user: user + postgres_password: password + postgres_version: latest use_memcached: false + memcached_version: latest use_elastic_search: false + elasticsearch_version: 8.11.1 + elasticsearch_port: 9200 use_rabbitmq: true + rabbitmq_version: latest use_mongo: false + mongo_version: latest use_celery: true celery_app: python_test.celery From 38136b28a84d48133792b13f6c08124d8267cf2c Mon Sep 17 00:00:00 2001 From: Alberto Cocheo Date: Fri, 26 Apr 2024 15:40:24 +0200 Subject: [PATCH 5/9] Fix hard link --- .../configurations/python_linters/README.md | 23 +++++++++++++++++++ .github/workflows/pull_request_automation.yml | 9 ++++++++ 2 files changed, 32 insertions(+) diff --git a/.github/configurations/python_linters/README.md b/.github/configurations/python_linters/README.md index fcf1ca3..9399ec7 100644 --- a/.github/configurations/python_linters/README.md +++ b/.github/configurations/python_linters/README.md @@ -54,3 +54,26 @@ In `.vscode/settings.json` "${workspaceFolder}/.github/configurations/python_linters/.black" ] } +``` + +- ### [PyCharm](https://www.jetbrains.com/pycharm/) +Linters can be run on demand as external tools in the IDE by adding their configurations under **File -> Settings... -> Tools -> External tools**. +Then, add a configuration for each linter by clicking on the **+** button (the working directory must be set to the folder where the `manage.py` file is). +After this configurations, the linters can be run from the menu **Tools -> External tools**. +* Flake8 + * _Name_: `Flake8` + * _Program_: `$PyInterpreterDirectory$/flake8` + * _Arguments_: `$FilePath$ --config ../.github/configurations/python_linters/.flake8` + * _Working directory_: `$ProjectFileDir$/DjangoMainProject` +* Black + * _Name_: `Black` + * _Program_: `$PyInterpreterDirectory$/black` + * _Arguments_: `--config ../.github/configurations/python_linters/.black $FilePath$` + * _Working directory_: `$ProjectFileDir$/DjangoMainProject` +* isort + * _Name_: `isort` + * _Program_: `$PyInterpreterDirectory$/isort` + * _Arguments_: `--sp ../.github/configurations/python_linters/.isort.cfg --profile black $FilePath$` + * _Working directory_: `$ProjectFileDir$/DjangoMainProject` + +With this configuration, the linters are run against the opened file in the editor; to do it against the whole codebase, change the variable *$FilePath$* to the Django root directory. diff --git a/.github/workflows/pull_request_automation.yml b/.github/workflows/pull_request_automation.yml index 46ac709..2b54a0f 100644 --- a/.github/workflows/pull_request_automation.yml +++ b/.github/workflows/pull_request_automation.yml @@ -76,10 +76,19 @@ jobs: check_dockerfile: Dockerfile use_postgres: false + postgres_db: db + postgres_user: user + postgres_password: password + postgres_version: latest use_memcached: false + memcached_version: latest use_elastic_search: false + elasticsearch_version: 8.11.1 + elasticsearch_port: 9200 use_rabbitmq: true + rabbitmq_version: latest use_mongo: false + mongo_version: latest use_celery: true celery_app: python_test.celery From 79f9e153eb7a728224dd7d9d135f9e62292574ac Mon Sep 17 00:00:00 2001 From: Luca Cigarini <94375169+lucaCigarini@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:37:17 +0200 Subject: [PATCH 6/9] updated linters and fixed docker compose v2 (#210) --- .pre-commit-config.yaml | 10 +++++----- actions/services/action.yml | 16 ++++++++-------- .../python_linters/requirements-linters.txt | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6566756..9aa1555 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,32 +11,32 @@ repos: args: ["--rcfile", ".github/configurations/python_linters/.pylintrc"] - repo: https://github.com/pycqa/bandit - rev: 1.7.4 + rev: 1.7.9 hooks: - id: bandit args: ["-c", ".github/configurations/python_linters/.bandit.yaml"] - repo: https://github.com/pycqa/flake8 - rev: 5.0.4 + rev: 7.1.1 hooks: - id: flake8 exclude: docs/conf.py args: ["--config", ".github/configurations/python_linters/.flake8"] - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort args: ["--settings-path", ".github/configurations/python_linters/.isort.cfg", "--filter-files", "--skip", "venv"] - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.8.0 hooks: - id: black args: ["--config", ".github/configurations/python_linters/.black"] - repo: https://github.com/PyCQA/autoflake - rev: v1.7.7 + rev: v2.3.1 hooks: - id: autoflake args: ["-i", "--remove-all-unused-imports", "--remove-unused-variables", "--ignore-init-module-imports", "--ignore-pass-statements"] diff --git a/actions/services/action.yml b/actions/services/action.yml index 63fe8f0..3ff95b8 100644 --- a/actions/services/action.yml +++ b/actions/services/action.yml @@ -57,7 +57,7 @@ runs: using: "composite" steps: - - name: Create mongo docker-compose file + - name: Create mongo docker compose file if: inputs.use_mongo run: | echo "version: '3.8'" > mongo.yml @@ -74,7 +74,7 @@ runs: shell: bash - - name: Create postgres docker-compose file + - name: Create postgres docker compose file if: inputs.use_postgres run: | echo "version: '3.8'" > postgres.yml @@ -96,7 +96,7 @@ runs: shell: bash - - name: Create elasticsearch docker-compose file + - name: Create elasticsearch docker compose file if: inputs.use_elastic_search run: | echo "version: '3.8'" > elastic_search.yml @@ -117,7 +117,7 @@ runs: shell: bash - - name: Create memcached docker-compose file + - name: Create memcached docker compose file if: inputs.use_memcached run: | echo "version: '3.8'" > memcached.yml @@ -130,7 +130,7 @@ runs: shell: bash - - name: Create redis docker-compose file + - name: Create redis docker compose file if: inputs.use_redis run: | echo "version: '3.8'" > redis.yml @@ -143,7 +143,7 @@ runs: shell: bash - - name: Create rabbitmq docker-compose file + - name: Create rabbitmq docker compose file if: inputs.use_rabbitmq run: | echo "version: '3.8'" > rabbitmq.yml @@ -157,9 +157,9 @@ runs: shell: bash - - name: Execute docker-compose up + - name: Execute docker compose up run: | - CLI=docker-compose + CLI="docker compose" if [[ ${{ inputs.use_postgres }} != 'false' ]]; then CLI="${CLI} -f postgres.yml" fi diff --git a/configurations/python_linters/requirements-linters.txt b/configurations/python_linters/requirements-linters.txt index c931ff0..f9db954 100644 --- a/configurations/python_linters/requirements-linters.txt +++ b/configurations/python_linters/requirements-linters.txt @@ -1,8 +1,8 @@ -black==23.11.0 -isort==5.12.0 -flake8==6.1.0 +autoflake==2.3.1 +bandit==1.7.9 +black==24.8.0 flake8-django==1.4 -pylint==2.17.7 +flake8==7.1.1 +isort==5.13.2 pylint-django==2.5.5 -bandit==1.7.5 -autoflake==2.2.1 \ No newline at end of file +pylint==3.2.6 \ No newline at end of file From 15a8394eab90c0d46813d63da2a10479f9b017ad Mon Sep 17 00:00:00 2001 From: Luca Cigarini Date: Tue, 27 Aug 2024 15:29:01 +0200 Subject: [PATCH 7/9] fixed flake8-django requirement --- .github/actions/services/action.yml | 16 ++++++++-------- .../python_linters/requirements-linters.txt | 16 +++++++++------- .../python_linters/requirements-linters.txt | 4 +++- 3 files changed, 20 insertions(+), 16 deletions(-) diff --git a/.github/actions/services/action.yml b/.github/actions/services/action.yml index 63fe8f0..3ff95b8 100644 --- a/.github/actions/services/action.yml +++ b/.github/actions/services/action.yml @@ -57,7 +57,7 @@ runs: using: "composite" steps: - - name: Create mongo docker-compose file + - name: Create mongo docker compose file if: inputs.use_mongo run: | echo "version: '3.8'" > mongo.yml @@ -74,7 +74,7 @@ runs: shell: bash - - name: Create postgres docker-compose file + - name: Create postgres docker compose file if: inputs.use_postgres run: | echo "version: '3.8'" > postgres.yml @@ -96,7 +96,7 @@ runs: shell: bash - - name: Create elasticsearch docker-compose file + - name: Create elasticsearch docker compose file if: inputs.use_elastic_search run: | echo "version: '3.8'" > elastic_search.yml @@ -117,7 +117,7 @@ runs: shell: bash - - name: Create memcached docker-compose file + - name: Create memcached docker compose file if: inputs.use_memcached run: | echo "version: '3.8'" > memcached.yml @@ -130,7 +130,7 @@ runs: shell: bash - - name: Create redis docker-compose file + - name: Create redis docker compose file if: inputs.use_redis run: | echo "version: '3.8'" > redis.yml @@ -143,7 +143,7 @@ runs: shell: bash - - name: Create rabbitmq docker-compose file + - name: Create rabbitmq docker compose file if: inputs.use_rabbitmq run: | echo "version: '3.8'" > rabbitmq.yml @@ -157,9 +157,9 @@ runs: shell: bash - - name: Execute docker-compose up + - name: Execute docker compose up run: | - CLI=docker-compose + CLI="docker compose" if [[ ${{ inputs.use_postgres }} != 'false' ]]; then CLI="${CLI} -f postgres.yml" fi diff --git a/.github/configurations/python_linters/requirements-linters.txt b/.github/configurations/python_linters/requirements-linters.txt index c931ff0..39fb9e3 100644 --- a/.github/configurations/python_linters/requirements-linters.txt +++ b/.github/configurations/python_linters/requirements-linters.txt @@ -1,8 +1,10 @@ -black==23.11.0 -isort==5.12.0 -flake8==6.1.0 -flake8-django==1.4 -pylint==2.17.7 +autoflake==2.3.1 +bandit==1.7.9 +black==24.8.0 +# use fork since main repo is not updated +# see https://github.com/rocioar/flake8-django/pull/134 +flake8-django @ git+https://github.com/terencehonles/flake8-django.git@a6e369e89d275dfd5514f2aa9d091aa36c5ff84b +flake8==7.1.1 +isort==5.13.2 pylint-django==2.5.5 -bandit==1.7.5 -autoflake==2.2.1 \ No newline at end of file +pylint==3.2.6 \ No newline at end of file diff --git a/configurations/python_linters/requirements-linters.txt b/configurations/python_linters/requirements-linters.txt index f9db954..39fb9e3 100644 --- a/configurations/python_linters/requirements-linters.txt +++ b/configurations/python_linters/requirements-linters.txt @@ -1,7 +1,9 @@ autoflake==2.3.1 bandit==1.7.9 black==24.8.0 -flake8-django==1.4 +# use fork since main repo is not updated +# see https://github.com/rocioar/flake8-django/pull/134 +flake8-django @ git+https://github.com/terencehonles/flake8-django.git@a6e369e89d275dfd5514f2aa9d091aa36c5ff84b flake8==7.1.1 isort==5.13.2 pylint-django==2.5.5 From b212b3007106a51ccda791553c5a2786a464038d Mon Sep 17 00:00:00 2001 From: eugenioseveri Date: Tue, 27 Aug 2024 16:02:29 +0200 Subject: [PATCH 8/9] Removed "version" from docker-compose files and changed RabbitMQ version --- actions/services/action.yml | 18 ++++++------------ workflows/pull_request_automation.yml | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/actions/services/action.yml b/actions/services/action.yml index 3ff95b8..b814a03 100644 --- a/actions/services/action.yml +++ b/actions/services/action.yml @@ -60,8 +60,7 @@ runs: - name: Create mongo docker compose file if: inputs.use_mongo run: | - echo "version: '3.8'" > mongo.yml - echo "services:" >> mongo.yml + echo "services:" > mongo.yml echo " mongo:" >> mongo.yml echo " image: library/mongo:${{ inputs.mongo_version }}" >> mongo.yml echo " container_name: mongo" >> mongo.yml @@ -77,8 +76,7 @@ runs: - name: Create postgres docker compose file if: inputs.use_postgres run: | - echo "version: '3.8'" > postgres.yml - echo "services:" >> postgres.yml + echo "services:" > postgres.yml echo " postgres:" >> postgres.yml echo " image: library/postgres:${{ inputs.postgres_version }}-alpine" >> postgres.yml echo " container_name: postgres" >> postgres.yml @@ -99,8 +97,7 @@ runs: - name: Create elasticsearch docker compose file if: inputs.use_elastic_search run: | - echo "version: '3.8'" > elastic_search.yml - echo "services:" >> elastic_search.yml + echo "services:" > elastic_search.yml echo " elastic_search:" >> elastic_search.yml echo " image: elasticsearch:${{ inputs.elasticsearch_version }}" >> elastic_search.yml echo " container_name: elastic_search" >> elastic_search.yml @@ -120,8 +117,7 @@ runs: - name: Create memcached docker compose file if: inputs.use_memcached run: | - echo "version: '3.8'" > memcached.yml - echo "services:" >> memcached.yml + echo "services:" > memcached.yml echo " memcached:" >> memcached.yml echo " container_name: memcached" >> memcached.yml echo " image: memcached:${{ inputs.memcached_version }}-alpine" >> memcached.yml @@ -133,8 +129,7 @@ runs: - name: Create redis docker compose file if: inputs.use_redis run: | - echo "version: '3.8'" > redis.yml - echo "services:" >> redis.yml + echo "services:" > redis.yml echo " redis:" >> redis.yml echo " container_name: redis" >> redis.yml echo " image: library/redis:${{ inputs.redis_version }}-alpine" >> redis.yml @@ -146,8 +141,7 @@ runs: - name: Create rabbitmq docker compose file if: inputs.use_rabbitmq run: | - echo "version: '3.8'" > rabbitmq.yml - echo "services:" >> rabbitmq.yml + echo "services:" > rabbitmq.yml echo " rabbitmq:" >> rabbitmq.yml echo " container_name: rabbitmq" >> rabbitmq.yml echo " image: library/rabbitmq:${{ inputs.rabbitmq_version }}-management-alpine" >> rabbitmq.yml diff --git a/workflows/pull_request_automation.yml b/workflows/pull_request_automation.yml index 2b54a0f..c1a29b0 100644 --- a/workflows/pull_request_automation.yml +++ b/workflows/pull_request_automation.yml @@ -86,7 +86,7 @@ jobs: elasticsearch_version: 8.11.1 elasticsearch_port: 9200 use_rabbitmq: true - rabbitmq_version: latest + rabbitmq_version: 3 use_mongo: false mongo_version: latest use_celery: true From 7eb24220f4dca157712c08ea14737874ff052ed6 Mon Sep 17 00:00:00 2001 From: eugenioseveri Date: Tue, 27 Aug 2024 16:10:39 +0200 Subject: [PATCH 9/9] Fixed Python configurations --- .github/actions/services/action.yml | 18 ++++++------------ .github/workflows/pull_request_automation.yml | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/actions/services/action.yml b/.github/actions/services/action.yml index 3ff95b8..b814a03 100644 --- a/.github/actions/services/action.yml +++ b/.github/actions/services/action.yml @@ -60,8 +60,7 @@ runs: - name: Create mongo docker compose file if: inputs.use_mongo run: | - echo "version: '3.8'" > mongo.yml - echo "services:" >> mongo.yml + echo "services:" > mongo.yml echo " mongo:" >> mongo.yml echo " image: library/mongo:${{ inputs.mongo_version }}" >> mongo.yml echo " container_name: mongo" >> mongo.yml @@ -77,8 +76,7 @@ runs: - name: Create postgres docker compose file if: inputs.use_postgres run: | - echo "version: '3.8'" > postgres.yml - echo "services:" >> postgres.yml + echo "services:" > postgres.yml echo " postgres:" >> postgres.yml echo " image: library/postgres:${{ inputs.postgres_version }}-alpine" >> postgres.yml echo " container_name: postgres" >> postgres.yml @@ -99,8 +97,7 @@ runs: - name: Create elasticsearch docker compose file if: inputs.use_elastic_search run: | - echo "version: '3.8'" > elastic_search.yml - echo "services:" >> elastic_search.yml + echo "services:" > elastic_search.yml echo " elastic_search:" >> elastic_search.yml echo " image: elasticsearch:${{ inputs.elasticsearch_version }}" >> elastic_search.yml echo " container_name: elastic_search" >> elastic_search.yml @@ -120,8 +117,7 @@ runs: - name: Create memcached docker compose file if: inputs.use_memcached run: | - echo "version: '3.8'" > memcached.yml - echo "services:" >> memcached.yml + echo "services:" > memcached.yml echo " memcached:" >> memcached.yml echo " container_name: memcached" >> memcached.yml echo " image: memcached:${{ inputs.memcached_version }}-alpine" >> memcached.yml @@ -133,8 +129,7 @@ runs: - name: Create redis docker compose file if: inputs.use_redis run: | - echo "version: '3.8'" > redis.yml - echo "services:" >> redis.yml + echo "services:" > redis.yml echo " redis:" >> redis.yml echo " container_name: redis" >> redis.yml echo " image: library/redis:${{ inputs.redis_version }}-alpine" >> redis.yml @@ -146,8 +141,7 @@ runs: - name: Create rabbitmq docker compose file if: inputs.use_rabbitmq run: | - echo "version: '3.8'" > rabbitmq.yml - echo "services:" >> rabbitmq.yml + echo "services:" > rabbitmq.yml echo " rabbitmq:" >> rabbitmq.yml echo " container_name: rabbitmq" >> rabbitmq.yml echo " image: library/rabbitmq:${{ inputs.rabbitmq_version }}-management-alpine" >> rabbitmq.yml diff --git a/.github/workflows/pull_request_automation.yml b/.github/workflows/pull_request_automation.yml index 2b54a0f..c1a29b0 100644 --- a/.github/workflows/pull_request_automation.yml +++ b/.github/workflows/pull_request_automation.yml @@ -86,7 +86,7 @@ jobs: elasticsearch_version: 8.11.1 elasticsearch_port: 9200 use_rabbitmq: true - rabbitmq_version: latest + rabbitmq_version: 3 use_mongo: false mongo_version: latest use_celery: true