Skip to content

Commit e503592

Browse files
committed
Adding greece instances prod and staging
1 parent 6039243 commit e503592

4 files changed

Lines changed: 105 additions & 0 deletions

File tree

inventory/group_vars/gr.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
3+
# See https://github.com/openfoodfoundation/ofn-install/wiki/Setup for more info
4+
checkout_zone: Europe
5+
country_code: GR
6+
currency: EUR
7+
locale: el # Default locale for OFN instance
8+
available_locales: el, en_FR # Available locales for OFN instance
9+
language: en_US.UTF-8 # Default language for the server
10+
language_packages: # Language packages for the server
11+
- language-pack-en-base
12+
l10n_repo: https://github.com/mcmpp/l10n_el.git
13+
timezone: Athens
14+
15+
16+
# Used for the LetsEncrypt email setting
17+
developer_email: mikel.cordovilla@tegonal.com
18+
19+
# Users listed here will have their key from /files/keys added to the app_user
20+
users_sysadmin:
21+
- mikel
22+
- "{{ core_devs }}"
23+
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
3+
domain: staging.openfoodnetwork.gr
4+
host_id: gr-staging
5+
rails_env: staging
6+
7+
admin_email: hello@openfoodnetwork.gr
8+
9+
# Optional list of subdomains to register in letsencrypt certificate
10+
# Defaults to {{ domain }} if list is undefined
11+
#
12+
#certbot_domains:
13+
# - example.com
14+
# - www.example.com
15+
# - info.example.com
16+
17+
# Size in bytes. You can also use units like 1G, 512MiB or 1000KB. See: `man fallocate`
18+
# The default is `false`, not installing a swapfile.
19+
swapfile_size: 1G
20+
21+
# Enable external database access for third party integrations
22+
#postgres_listen_addresses:
23+
# - '*'
24+
#
25+
#custom_hba_entries:
26+
# - { type: hostssl, database: "{{ db }}", user: zapier, address: '54.86.9.50/32', auth_method: md5 }
27+
#
28+
#custom_env_vars: |
29+
# OFN_FEATURE_CONNECT_AND_LEARN="true"
30+
31+
# Overridable Image Settings
32+
# attachment_url:
33+
# attachment_path:
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
3+
domain: www.openfoodnetwork.gr
4+
host_id: ch-prod # country initials (eg uk, es, de) and environment (default is prod)
5+
rails_env: production
6+
7+
admin_email: hello@openfoodnetwork.gr
8+
9+
# Optional list of subdomains to register in letsencrypt certificate
10+
# Defaults to {{ domain }} if list is undefined
11+
#
12+
#certbot_domains:
13+
# - example.com
14+
# - www.example.com
15+
# - info.example.com
16+
17+
# Size in bytes. You can also use units like 1G, 512MiB or 1000KB. See: `man fallocate`
18+
# The default is `false`, not installing a swapfile.
19+
swapfile_size: 1G
20+
21+
# Enable external database access for third party integrations
22+
#postgres_listen_addresses:
23+
# - '*'
24+
#
25+
#custom_hba_entries:
26+
# - { type: hostssl, database: "{{ db }}", user: zapier, address: '54.86.9.50/32', auth_method: md5 }
27+
#
28+
#custom_env_vars: |
29+
# OFN_FEATURE_CONNECT_AND_LEARN="true"
30+
31+
# Overridable Image Settings
32+
# attachment_url:
33+
# attachment_path:

inventory/hosts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ uk_prod
207207
de_prod
208208
ie_prod
209209
hu_prod
210+
gr_prod
210211

211212
#------------------------------------------------------------------------------
212213
# America
@@ -232,6 +233,7 @@ in_prod
232233
au_staging
233234
uk_staging
234235
fr_staging
236+
gr_staging
235237

236238
#------------------------------------------------------------------------------
237239
# All
@@ -257,6 +259,7 @@ cr
257259
hu
258260
ch
259261
fi
262+
gr
260263

261264
#------------------------------------------------------------------------------
262265
# Switzerland
@@ -275,3 +278,16 @@ openfoodnetwork.fi ansible_host=157.180.89.177
275278

276279
[fi:children]
277280
fi_prod
281+
282+
#------------------------------------------------------------------------------
283+
# Greece
284+
285+
[gr_prod]
286+
www.openfoodnetwork.gr ansible_host=185.4.135.184
287+
288+
[gr_staging]
289+
staging.openfoodnetwork.gr ansible_host=185.4.132.192
290+
291+
[gr:children]
292+
gr_prod
293+
gr_staging

0 commit comments

Comments
 (0)