manageiq
Зеркало из https://github.com/ManageIQ/manageiq
/
Procfile.example
55 строк · 2.6 Кб
1# QUICKSTART
2#
3# * copy Procfile.example to Procfile
4# * uncomment needed processes
5# * `bin/rake evm:foreman:start` to start the processes!
6# This task will configure the local server to look started and then start the processes in the Procfile.
7#
8# See documentation at http://manageiq.org/docs/guides/developer_setup/foreman
9#
10# Web server workers
11# The $PORT variable is set automatically by foreman for particular workers
12# We tell foreman to start at 3000, it then increments by 1 per instance of a worker type
13# and 100 per worker type.
14#
15# So, the first ui worker will get PORT=3000 while the next will get PORT=3001
16# The first api worker will get PORT=3100 and the next will get PORT=3101
17
18# ui: env PORT=$PORT ruby lib/workers/bin/run_single_worker.rb MiqUiWorker
19# api: env PORT=$PORT ruby lib/workers/bin/run_single_worker.rb MiqWebServiceWorker
20# remote_console: env PORT=$PORT ruby lib/workers/bin/run_single_worker.rb MiqRemoteConsoleWorker
21
22# schedule: ruby lib/workers/bin/run_single_worker.rb MiqScheduleWorker
23
24# Queue workers
25# These workers use a default queue defined in their classes
26# We do not need to pass them a queue name
27
28# generic: ruby lib/workers/bin/run_single_worker.rb MiqGenericWorker
29# priority: ruby lib/workers/bin/run_single_worker.rb MiqPriorityWorker
30# event: ruby lib/workers/bin/run_single_worker.rb MiqEventHandler
31# reporting: ruby lib/workers/bin/run_single_worker.rb MiqReportingWorker
32# metrics_processor: ruby lib/workers/bin/run_single_worker.rb MiqEmsMetricsProcessorWorker
33
34# Provider workers
35#
36# 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
37
38# VMware example
39# The following worker should be started to work with a VMware infrastructure EMS
40
41# vmware_metrics: ruby lib/workers/bin/run_single_worker.rb ManageIQ::Providers::Vmware::InfraManager::MetricsCollectorWorker
42
43# Per EMS queue workers
44# These workers subscribe to a queue named based on the particular EMS they connect to
45# The "<id>" tag in these lines should be replaced by the id of the manager instance these workers apply to
46
47# vmware_refresh_<id>: ruby lib/workers/bin/run_single_worker.rb --ems-id <id> ManageIQ::Providers::Vmware::InfraManager::RefreshWorker
48# vmware_event_<id>: ruby lib/workers/bin/run_single_worker.rb --ems-id <id> ManageIQ::Providers::Vmware::InfraManager::EventCatcher
49
50# Logs
51#
52# If you also want to see the log output in the same terminal session that you see the foreman output, uncomment these lines
53
54# evm_log: tail -f log/evm.log
55# dev_log: tail -f log/development.log
56