aboutsummaryrefslogtreecommitdiffhomepage
path: root/config/deploy/production.rb
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-18 16:14:23 +0200
committerJeremy Benoist <j0k3r@users.noreply.github.com>2015-08-18 16:14:23 +0200
commitc3cb46809b54b2f74d00de7330e06be45776e61e (patch)
treead1965135914611b476c0d8533326def52607fd7 /config/deploy/production.rb
parent54f2b4a254345a58cd03b872bd772863855c7f1f (diff)
parentfd72e99d534aff6ee1b88eff7702886a468050f4 (diff)
downloadwallabag-c3cb46809b54b2f74d00de7330e06be45776e61e.tar.gz
wallabag-c3cb46809b54b2f74d00de7330e06be45776e61e.tar.zst
wallabag-c3cb46809b54b2f74d00de7330e06be45776e61e.zip
Merge pull request #1341 from wallabag/v2-capistrano
capistrano config
Diffstat (limited to 'config/deploy/production.rb')
-rw-r--r--config/deploy/production.rb61
1 files changed, 61 insertions, 0 deletions
diff --git a/config/deploy/production.rb b/config/deploy/production.rb
new file mode 100644
index 00000000..4fc06fa9
--- /dev/null
+++ b/config/deploy/production.rb
@@ -0,0 +1,61 @@
1# server-based syntax
2# ======================
3# Defines a single server with a list of roles and multiple properties.
4# You can define all roles on a single server, or split them:
5
6# server 'example.com', user: 'deploy', roles: %w{app db web}, my_property: :my_value
7# server 'example.com', user: 'deploy', roles: %w{app web}, other_property: :other_value
8# server 'db.example.com', user: 'deploy', roles: %w{db}
9
10
11
12# role-based syntax
13# ==================
14
15# Defines a role with one or multiple servers. The primary server in each
16# group is considered to be the first unless any hosts have the primary
17# property set. Specify the username and a domain or IP for the server.
18# Don't use `:all`, it's a meta role.
19
20# role :app, %w{deploy@example.com}, my_property: :my_value
21# role :web, %w{user1@primary.com user2@additional.com}, other_property: :other_value
22# role :db, %w{deploy@example.com}
23
24
25
26# Configuration
27# =============
28# You can set any configuration variable like in config/deploy.rb
29# These variables are then only loaded and set in this stage.
30# For available Capistrano configuration variables see the documentation page.
31# http://capistranorb.com/documentation/getting-started/configuration/
32# Feel free to add new variables to customise your setup.
33
34
35
36# Custom SSH Options
37# ==================
38# You may pass any option but keep in mind that net/ssh understands a
39# limited set of options, consult the Net::SSH documentation.
40# http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start
41#
42# Global options
43# --------------
44# set :ssh_options, {
45# keys: %w(/home/rlisowski/.ssh/id_rsa),
46# forward_agent: false,
47# auth_methods: %w(password)
48# }
49#
50# The server-based syntax can be used to override options:
51# ------------------------------------
52# server 'example.com',
53# user: 'user_name',
54# roles: %w{web app},
55# ssh_options: {
56# user: 'user_name', # overrides user setting above
57# keys: %w(/home/user_name/.ssh/id_rsa),
58# forward_agent: false,
59# auth_methods: %w(publickey password)
60# # password: 'please use keys'
61# }