forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProcfile.example
48 lines (37 loc) · 2.68 KB
/
Procfile.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Web server workers
# The $PORT variable is set automatically by foreman for particular workers
# We tell foreman to start at 3000, it then increments by 1 per instance of a worker type
# and 100 per worker type.
#
# So, the first ui worker will get PORT=3000 while the next will get PORT=3001
# The first api worker will get PORT=3100 and the next will get PORT=3101
# ui: env PORT=$PORT bundle exec rails r lib/workers/bin/run_single_worker.rb MiqUiWorker
# api: env PORT=$PORT bundle exec rails r lib/workers/bin/run_single_worker.rb MiqWebServiceWorker
# websocket: env PORT=$PORT bundle exec rails r lib/workers/bin/run_single_worker.rb MiqWebsocketWorker
# schedule: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqScheduleWorker
# Queue workers
# These workers use a default queue defined in their classes
# We do not need to pass them a queue name
# generic: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqGenericWorker
# priority: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqPriorityWorker
# event: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqEventHandler
# reporting: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqReportingWorker
# metrics_processor: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqEmsMetricsProcessorWorker
# Provider workers
#
# If you are unsure which workers to start, you can run `ruby lib/workers/bin/run_single_worker.rb -l` to list the workers available
# VMware example
# The following workers should be started to work with a VMware infrastructure EMS
# vim_broker: bundle exec rails r lib/workers/bin/run_single_worker.rb MiqVimBrokerWorker
# vmware_metrics: bundle exec rails r lib/workers/bin/run_single_worker.rb ManageIQ::Providers::Vmware::InfraManager::MetricsCollectorWorker
# Per EMS queue workers
# These workers subscribe to a queue named based on the particular EMS they connect to
# The "<id>" tag in these lines should be replaced by the id of the manager instance these workers apply to
# vmware_refresh_<id>: env QUEUE=ems_<id> bundle exec rails r lib/workers/bin/run_single_worker.rb ManageIQ::Providers::Vmware::InfraManager::RefreshWorker
# vmware_event_<id>: env QUEUE=ems_<id> bundle exec rails r lib/workers/bin/run_single_worker.rb ManageIQ::Providers::Vmware::InfraManager::EventCatcher
# vmware_refresh_core_<id>: env QUEUE=ems_<id> bundle exec rails r lib/workers/bin/run_single_worker.rb MiqEmsRefreshCoreWorker
# Logs
#
# If you also want to see the log output in the same terminal session that you see the foreman output, uncomment these lines
# evm_log: tail -f log/evm.log
# dev_log: tail -f log/development.log