-
Notifications
You must be signed in to change notification settings - Fork 69
/
all
72 lines (60 loc) · 1.83 KB
/
all
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
app_name: consul
#domain: your_domain.com
server_hostname: "{{ domain | default(ansible_default_ipv4.address) }}"
# Server Timezone
timezone: Europe/Madrid
# Consul Democracy Timezone
application_timezone: "{{ timezone }}"
# General settings
env: production
deploy_user: deploy
deploy_group: wheel
home_dir: "/home/{{ deploy_user }}"
consul_dir: "{{ home_dir }}/{{ app_name }}"
shared_dir: "{{ consul_dir }}/shared"
release_dir: "{{ consul_dir }}/current"
shared_dirs:
- "tmp"
- "log"
- "storage"
shared_public_dirs:
- "assets"
- "system"
- "ckeditor_assets"
- "machine_learning/data"
ssh_public_key_path: "~/.ssh/id_rsa.pub"
ansible_ssh_private_key_file: "~/.ssh/id_rsa"
#Postgresql
database_name: "{{app_name}}_{{ env }}"
database_user: "{{ deploy_user }}"
database_password: "{{ deploy_user }}"
database_hostname: "localhost"
# Puma
# If you use Capistrano to deploy, make sure the puma_service_unit_name
# variable is the same as `:puma_service_unit_name` in Capistrano
puma_service_unit_name: "puma_{{ app_name }}_{{ env }}"
puma_config_file: "{{ release_dir }}/config/puma/{{ env }}.rb"
puma_access_log: "{{ shared_dir }}/log/puma_access.log"
puma_error_log: "{{ shared_dir }}/log/puma_error.log"
#SMTP
smtp_address: "smtp.example.com"
smtp_port: 25
smtp_domain: "your_domain.com"
smtp_user_name: "username"
smtp_password: "password"
smtp_authentication: "plain"
#LetsEncrypt
#letsencrypt_email: "your_email@example.com"
# Node.js
fnm_dir: "{{ home_dir }}/.fnm"
fnm_command: "export PATH=\"{{ fnm_dir }}/:$PATH\" && eval \"$(fnm env)\""
# RVM
rvm_command: "source {{ home_dir }}/.rvm/scripts/rvm"
# Errbit
errbit: False
errbit_dir: "{{ home_dir }}/errbit"
errbit_domain: "errbit.{{ domain }}"
errbit_service: "{{ app_name }}_errbit"
errbit_user: "{{ deploy_user }}"
errbit_group: "{{ deploy_group }}"