-
Notifications
You must be signed in to change notification settings - Fork 15
/
all.sample.yml
155 lines (145 loc) · 5.58 KB
/
all.sample.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
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
# Set to yes, if you're using pycharm for development
# Otherwise, set no
use_pycharm: yes
# Your linux/mac user that will run ansible
remote_user: lucernae
# Your linux/mac group that will run ansible
remote_group: staff
# Your project location (this repo)
project_path: "/Users/lucernae/Documents/WorkingDir/Projects/InaSAFE/inasafe-django"
# True if it will be running on Travis
on_travis: False
# Facts for this web app
inasafe_django:
# Site domain name for this web app.
# It can be pointing to domain name or ipaddress:port
# for local development, use 'http://docker-inasafe-django:61102'
site_domain_name: 'http://docker-inasafe-django:61102'
# We are using mapquest to show basemap. Put your mapquest key here
mapquest_map_key: 'secretkey'
# We are using sentry to send error messages. Put your sentry key here
sentry_secret_key: 'secretkey'
# Toggle for celery always eager settings
task_always_eager: False
# Facts for PyCharm integrations
# Not needed for productions
interpreters:
# Interpreter for this web app
inasafe_django:
# Just a name for interpreter
name: 'InaSAFE Django Container'
# Domain alias. We set /etc/hosts to point to this domain alias for this
# interpreter
domain_alias: 'docker-inasafe-django'
# The port that this interpreter will use to redirect to SSH. Default to
# 61103
ssh_port: &inasafe_django_ssh_port 61103
# Location of pycharm helpers to cache pycharm index. Leave it be.
pycharm_helpers: /home/web/django_project/.pycharm_helpers
# The ip address of this interpreter. Set it to your current ipaddress of
# wifi or ethernet interface, so it can be resolved from inside docker.
ipaddress: &inasafe_django_host_ip 192.168.1.7
# Just a reference to InaSAFE Realtime Container
inasafe_realtime:
name: 'InaSAFE Realtime Container'
# Point to the ipaddress/domain name of InaSAFE Realtime processor
ipaddress: *inasafe_django_host_ip
inasafe_headless:
name: 'InaSAFE Headless Container'
# Point to the ipaddress/domain name of InaSAFE Realtime processor
ipaddress: *inasafe_django_host_ip
# Facts needed for InaSAFE Realtime
# This is to setup Realtime Hazard services
inasafe_realtime:
# Use prebuilt docker will generate docker-compose services using prebuilt
# docker image, if set to yes. If set to no, then it will assume the service
# available locally on another docker-compose service, for example when
# debugging in another repo
use_prebuilt_docker: yes
# set host working dir to the location that will contains inasafe realtime
# hazards
host_working_dir: ./realtime-hazard
# the working dir location seen from inside inasafe_realtime docker service
working_dir: /home/realtime
# Address to inasafe_realtime broker
broker: rabbitmq
# Port to inasafe_realtime broker
broker_port: 5672
# Facts needed for InaSAFE Headless
# This is to setup Headless Hazard services
inasafe_headless:
# Use prebuilt docker will generate docker-compose services using prebuilt
# docker image, if set to yes. If set to no, then it will assume the service
# available locally on another docker-compose service, for example when
# debugging in another repo
use_prebuilt_docker: yes
# set host working dir to the location that will contains inasafe headless
# data
host_working_dir: ./headless-data
# the working dir location seen from inside inasafe_headless docker service
working_dir: /home/headless
# Address to inasafe_headless broker
broker: rabbitmq
# Port to inasafe_headless broker
broker_port: 5672
# Facts needed for SFTP Backup
# This is setup to use kartoza hanoi backup scheme
# The container will push backups to SFTP server if configured.
# If this is used as development environment, you can set
# each 'use_backup' key to False. If you're planning to use it in
# your development environment, set pg_dev and media_dev environment
# If it is used for production, set pg and media environment.
sftp_backups:
pg:
use_backup: False
host: remotehost
user: remoteuser
password: thepassword
dir: /inasafe/inasafe-django/pg/
media:
use_backup: False
host: remotehost
user: remoteuser
password: thepassword
dir: /inasafe/inasafe-django/media/
# This is used to push pdf products to InAWARE system
# Set this fact to your appropriate credentials. If not used,
# leave as blank
inaware:
host: http://inawaretest.pdc.org/
user: inawareuser
password: thepassword
# This declaration is used to describe port forwarding that is being used
# by docker-compose. Leave it as default.
docker_port_forward:
inasafe_django:
# We reuse previous declaration that for ssh port to this
# interpreter
ssh: *inasafe_django_ssh_port
# Port forward postgis to local machine
db: 6543
# Port forward django manage.py runserver port to local machine.
# So we can access the web in our machine.
django: 61102
# Option to expose rabbitmq
rabbitmq: 6672
inasafe_realtime:
# We also need to connect to rabbitmq of InaSAFE Realtime
rabbitmq: 8100
inasafe_headless:
# We also need to connect to rabbitmq of InaSAFE Headless
rabbitmq: 8101
# This declaration is used to connect InaSAFE Django and InaSAFE Realtime
# processor
realtime_rest_api:
host: *inasafe_django_host_ip
port: 61102
# Set your own user & password you set up
# This credentials will be used by InaSAFE Realtime
user: test@realtime.inasafe.org
password: t3st4ccount
# Secret key for sync data
secret_key:
contexts_data: secretkey # Exposure, Aggregation, Contexts layer
qgis_templates: anothersecretkey # QGIS template and its resources