supervisor 0.0.95 → 0.0.96
Sign up to get free protection for your applications and to get access to all the features.
- data/config.yml +17 -26
- data/lib/supervisor/version.rb +1 -1
- metadata +1 -1
data/config.yml
CHANGED
@@ -1,37 +1,28 @@
|
|
1
1
|
#SUPERVISOR CONFIGURATION
|
2
2
|
|
3
|
-
#SUPERVISOR APP CONFIG (application)
|
4
|
-
# - If running in app mode (i.e. outside of a Rails app), configure settings here
|
5
3
|
#DELAYED JOB WORKER MACHINES (hosts)
|
6
4
|
# - Configure SSH connection info for the seperates hosts that are working delayed jobs
|
7
5
|
# - To add additional host connections, simply add another nested entry below
|
8
|
-
# - The
|
6
|
+
# - The Supervisor::Server module will establish SSH connections to each
|
9
7
|
# one to monitor, start, and stop delayed_job workers.
|
10
|
-
#DELAYED JOB
|
8
|
+
#DELAYED JOB DATABASE (database)
|
11
9
|
# - Configure an ActiveRecord connection to the database that is hosting the delay_jobs database
|
12
|
-
# - Only 1
|
10
|
+
# - Only 1 postgresql or sqlite database connection is supported at this time.
|
13
11
|
|
14
12
|
application:
|
15
|
-
name:
|
16
|
-
email:
|
13
|
+
name: # used to parse Rails path, log paths, etc (optional)
|
14
|
+
email: # email upon failures,changes,etc (optional, not yet supp.)
|
17
15
|
hosts:
|
18
16
|
-
|
19
|
-
name:
|
20
|
-
rails_path:
|
21
|
-
host:
|
22
|
-
username:
|
23
|
-
password:
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
host:
|
32
|
-
port:
|
33
|
-
adapter:
|
34
|
-
database:
|
35
|
-
username:
|
36
|
-
password:
|
37
|
-
template:
|
17
|
+
name: # 'nickname' of host
|
18
|
+
rails_path: # path of the Rails app on host machine, assumes '/var/www/RAILS_APP' by default
|
19
|
+
host: # domain name of host for SSH connection
|
20
|
+
username: # SSH Username
|
21
|
+
password: # SSH Password
|
22
|
+
database:
|
23
|
+
host: # FQDN or IP Address of database server
|
24
|
+
port: # port
|
25
|
+
adapter: # 'postgresql' or 'sqlite'
|
26
|
+
database: # name of the database, just like in a Rails database.yml
|
27
|
+
username: # username
|
28
|
+
password: # password
|
data/lib/supervisor/version.rb
CHANGED