|
|
@ -6,6 +6,7 @@ version: "3"
|
|
|
|
volumes:
|
|
|
|
volumes:
|
|
|
|
pgdata:
|
|
|
|
pgdata:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
postgres:
|
|
|
|
postgres:
|
|
|
|
image: postgres:11.12-alpine
|
|
|
|
image: postgres:11.12-alpine
|
|
|
@ -35,7 +36,6 @@ services:
|
|
|
|
# To use task processor service, uncomment line below and additional 'flagsmith_processor'
|
|
|
|
# To use task processor service, uncomment line below and additional 'flagsmith_processor'
|
|
|
|
# container below
|
|
|
|
# container below
|
|
|
|
TASK_RUN_METHOD: TASK_PROCESSOR # other options are: SYNCHRONOUSLY, SEPARATE_THREAD (default)
|
|
|
|
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
|
|
|
|
# For more info on configuring E-Mails - https://docs.flagsmith.com/deployment/locally-api#environment-variables
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Example SMTP:
|
|
|
|
# Example SMTP:
|
|
|
@ -59,14 +59,9 @@ services:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
DATABASE_URL: postgresql://postgres:password@postgres:5432/flagsmith
|
|
|
|
DATABASE_URL: postgresql://postgres:password@postgres:5432/flagsmith
|
|
|
|
USE_POSTGRES_FOR_ANALYTICS: "True"
|
|
|
|
USE_POSTGRES_FOR_ANALYTICS: "True"
|
|
|
|
entrypoint:
|
|
|
|
|
|
|
|
- "python"
|
|
|
|
|
|
|
|
- "manage.py"
|
|
|
|
|
|
|
|
- "runprocessor"
|
|
|
|
|
|
|
|
- "--sleepintervalms"
|
|
|
|
|
|
|
|
- "500"
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
depends_on:
|
|
|
|
- flagsmith
|
|
|
|
- flagsmith
|
|
|
|
- postgres
|
|
|
|
- postgres
|
|
|
|
links:
|
|
|
|
links:
|
|
|
|
- postgres
|
|
|
|
- postgres
|
|
|
|
|
|
|
|
command: run-task-processor
|
|
|
|