summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/deploy.rb16
-rw-r--r--config/deploy/production.rb16
-rw-r--r--config/deploy/staging.rb16
-rw-r--r--config/puma.rb16
4 files changed, 64 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 8240df3..702960b 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,3 +1,19 @@
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# config valid only for current version of Capistrano
lock '3.11.0'
diff --git a/config/deploy/production.rb b/config/deploy/production.rb
index d9620a1..9e5b250 100644
--- a/config/deploy/production.rb
+++ b/config/deploy/production.rb
@@ -1 +1,17 @@
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
server 'volse.anduin.net', user: 'norskurskog', roles: %w{app db web}
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb
index 20732be..c8f4101 100644
--- a/config/deploy/staging.rb
+++ b/config/deploy/staging.rb
@@ -1,3 +1,19 @@
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
server 'volse.local', user: 'norskurskog', roles: %w{app db web}
# Ask for which branch to deploy, default is current branch.
diff --git a/config/puma.rb b/config/puma.rb
index 04856d0..efe7b9b 100644
--- a/config/puma.rb
+++ b/config/puma.rb
@@ -1,5 +1,21 @@
#!/usr/bin/env puma
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
if @config.environment_str == "production"
root = File.expand_path('../', File.dirname(__FILE__))
socket = "unix://#{root}/tmp/sockets/puma.sock"