From 09968036d88d5b6287cb819c5ede2fad55929ee0 Mon Sep 17 00:00:00 2001 From: Kim Gustyr Date: Tue, 2 May 2023 00:14:39 +0100 Subject: [PATCH] feat: switch to new task processor entrypoint --- docker-compose.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 9de0129..7480694 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,6 +6,7 @@ version: "3" volumes: pgdata: + services: postgres: image: postgres:11.12-alpine @@ -35,7 +36,6 @@ services: # To use task processor service, uncomment line below and additional 'flagsmith_processor' # container below TASK_RUN_METHOD: TASK_PROCESSOR # other options are: SYNCHRONOUSLY, SEPARATE_THREAD (default) - # For more info on configuring E-Mails - https://docs.flagsmith.com/deployment/locally-api#environment-variables # # Example SMTP: @@ -59,14 +59,9 @@ services: environment: DATABASE_URL: postgresql://postgres:password@postgres:5432/flagsmith USE_POSTGRES_FOR_ANALYTICS: "True" - entrypoint: - - "python" - - "manage.py" - - "runprocessor" - - "--sleepintervalms" - - "500" depends_on: - flagsmith - postgres links: - postgres + command: run-task-processor