-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
28 lines (26 loc) · 1.41 KB
/
config.yml
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
#SUPERVISOR CONFIGURATION
#DELAYED JOB WORKER MACHINES (hosts)
# - Configure SSH connection info for the seperates hosts that are working delayed jobs
# - To add additional host connections, simply add another nested entry below
# - The Supervisor::Server module will establish SSH connections to each
# one to monitor, start, and stop delayed_job workers.
#DELAYED JOB DATABASE (database)
# - Configure an ActiveRecord connection to the database that is hosting the delay_jobs database
# - Only 1 postgresql or sqlite database connection is supported at this time.
application:
name: # used to parse Rails path, log paths, etc (optional)
email: # email upon failures,changes,etc (optional, not yet supp.)
hosts:
-
name: # 'nickname' of host
rails_path: # path of the Rails app on host machine, assumes '/var/www/RAILS_APP' by default
host: # domain name of host for SSH connection
username: # SSH Username
password: # SSH Password
database:
host: # FQDN or IP Address of database server
port: # port
adapter: # 'postgresql' or 'sqlite'
database: # name of the database, just like in a Rails database.yml
username: # username
password: # password