-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added support for multiple domains
Added suport for access via / Added support for declaring instance_name of your choice as a variable
- Loading branch information
1 parent
1672d8e
commit 59df778
Showing
37 changed files
with
371 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# filter_plugins/is_float.py | ||
class FilterModule(object): | ||
def filters(self): | ||
return { | ||
'to_fixed_string': self.to_fixed_string, | ||
'lowercase': self.lowercase, | ||
} | ||
def to_fixed_string(self, value): | ||
if isinstance(value, float): | ||
return format(value, '.2f') # Adjust the precision (number of decimal places) as needed | ||
return str(value) | ||
def lowercase(self,value): | ||
if value is not None and value != 'None': | ||
return str(value).lower() | ||
return value | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
# Postgresql optimization | ||
# Copy the file postgres.template to postgres (or generally, the name of your | ||
# database host ) using cp command. i.e cp postgres.template postgres | ||
pg_max_connections: 400 | ||
|
||
# number of open connnectins to postgres database | ||
pg_max_connections: 200 | ||
|
||
# Shared Buffers for postgresql, recommended 0.25 x Available_RAM for PostgreSQL | ||
pg_shared_buffers: 8GB | ||
|
||
# PostgreSQL work memory, Recommended = (0.25 x Available_RAM)/max_connections | ||
pg_work_mem: 20MB | ||
|
||
pg_maintenance_work_mem: 3GB | ||
# As much as you can reasonably afford. Helps with index generation during the analytics generation task | ||
pg_maintenance_work_mem: 3GB | ||
|
||
# As much as you can reasonably afford. Helps with index generation during the analytics generation task | ||
pg_effective_cache_size: 10GB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
# This is a template for proxy variables, | ||
# to make these varialbles available for your deployment, copy this template | ||
# file to proxy, that way your proxy intance will be able to read and use this | ||
# variables at runtime. | ||
# cp proxy.template proxy | ||
# This is a template for variables to be applied to proxy host. | ||
# use the template to create the file named 'proxy' | ||
# the file name should correspond to the host you want to apply variables to. | ||
# in our case proxy | ||
|
||
munin_users: | ||
- name: admin | ||
password: <put_secure_password> | ||
password: district | ||
|
||
# if you want munic access from non default base path | ||
munin_base_path: <base_path_for_munin> | ||
# if you want munin access from non-default, change the below variable. Default is munin | ||
munin_base_path: munin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.