Skip to content

Commit

Permalink
fix: flower docker-compose deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Dec 9, 2024
1 parent c97b876 commit 7469ead
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions docker_compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,23 @@ services:
reservations:
cpus: ${WORKER_TRAP_CPU_RESERVATIONS:-0.25}
memory: ${WORKER_TRAP_MEMORY_RESERVATIONS:-250M}
flower:
<<: [*dns_and_networks, *dependency_and_restart_policy]
image: ${SC4SNMP_IMAGE}:${SC4SNMP_TAG:-latest}
command: [celery, flower]
environment:
<<: [
*general_sc4snmp_data,
*splunk_general_setup,
*splunk_extended_setup,
*workers_general_setup,
*pysnmp_debug
]
profiles: [debug]
volumes:
- ${SCHEDULER_CONFIG_FILE_ABSOLUTE_PATH}:/app/config/config.yaml:ro
- worker-flower-pysnmp-cache-volume:/.pysnmp/:rw
- worker-flower-tmp:/tmp/:rw
volumes:
snmp-mibserver-tmp:
inventory-tmp:
Expand All @@ -248,3 +265,5 @@ volumes:
worker-sender-pysnmp-cache-volume:
worker-trap-tmp:
worker-trap-pysnmp-cache-volume:
worker-flower-tmp:
worker-flower-pysnmp-cache-volume:

0 comments on commit 7469ead

Please sign in to comment.