Commit 0819e27a authored by Serhey's avatar Serhey

Initial commit

parents

Too many changes to show.

To preserve performance only 3000 of 3000+ files are displayed.
name: app
type: php:7.4
disk: 1024
build:
flavor: none
relationships:
database: mysqldb:main
rediscache: rediscache:redis
solr: solrsearch:eng
# Zabbix relationships
database_zabbix: mysqldb:zabbix
status_database: mysqldb:main
status_solr: solrsearch:eng
status_redis: rediscache:redis
dependencies:
php:
wizaplace/php-fpm-status-cli: "^1.0"
gordalina/cachetool: "^5.0"
variables:
php:
max_input_time: 300
web:
locations:
/zabbix:
root: zabbix/src/zabbix/ui
passthru: true
scripts: true
index: [index.php]
/:
root: public
passthru: /index.php
mounts:
zabbix/configs:
source: local
source_path: zabbix-configs
runtime:
extensions:
- ctype
- xmlreader
- xmlwriter
- gettext
hooks:
build: |
set -e
curl -sS https://platform.sh/cli/installer | php
/app/zabbix/scripts/install-libevent.sh
/app/zabbix/scripts/install-zabbix.sh
/app/zabbix/scripts/install-composer-ui.sh
deploy: |
set -e
/app/zabbix/scripts/update-configs.sh
/app/zabbix/scripts/install-db.sh
/app/zabbix/scripts/start-zabbix.sh
\ No newline at end of file
.platform/local
===============
This directory is where the Platform.sh CLI stores configuration files, builds, and
other data to help work with your project locally.
It is not used on remote environments at all - the directory is excluded from
your Git repository (via .git/info/exclude).
id: 6tvw73x565axu
host: us-2.platform.sh
.app: &app
type: upstream
upstream: app:http
cache:
enabled: false
ssi:
enabled: false
.varnish: &varnish
type: upstream
upstream: varnish:http
cache:
enabled: false
ssi:
enabled: false
https://www.{default}/zabbix/: *app
https://www.{default}/: *varnish
\ No newline at end of file
mysqldb:
type: mariadb:10.4
disk: 1024
configuration:
schemas:
- main
- zabbix
endpoints:
main:
default_schema: main
privileges:
main: admin
zabbix:
default_schema: zabbix
privileges:
zabbix: admin
rediscache:
type: redis:5.0
configuration:
maxmemory_policy: volatile-lru
solrsearch:
type: solr:7.7
disk: 1024
configuration:
cores:
eng:
conf_dir: !archive "solr/eng"
endpoints:
eng:
core: eng
varnish:
type: varnish:6.0
relationships:
app: app:http
configuration:
vcl: !include
type: string
path: varnish.vcl
\ No newline at end of file
<!--
This is additional custom example fields. You can come up with similar
fields on your own, if you require custom indexing / query rules.
Instead of using the type "text" you might even want to define a custom
type. In the custom type you can define your dedicated index and query
rules. You can copy any existing fields into the custom field as seen
below.
In this case we copy the full user name and index it as a text field.
-->
<field name="custom_field" type="text" indexed="true" stored="false" required="false" multiValued="true" />
<copyField source="user_first_name_value_s" dest="custom_field" />
<copyField source="user_last_name_value_s" dest="custom_field" />
<field name="custom_geolocation_field" type="location" indexed="true" stored="false" required="false" />
<field name="custom_geolocation_field_0_coordinate" type="double" indexed="true" stored="false"/>
<field name="custom_geolocation_field_1_coordinate" type="double" indexed="true" stored="false"/>
<copyField source="testtype_maplocation_value_location_gl" dest="custom_geolocation_field" />
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" />
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Solr managed schema - automatically generated - DO NOT EDIT -->
<schema name="eZ Publish 5 base schema" version="1.5">
<uniqueKey>id</uniqueKey>
<fieldType name="binary" class="solr.BinaryField"/>
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" multiValued="false"/>
<fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" multiValued="true"/>
<fieldType name="date" class="solr.DatePointField" docValues="true"/>
<fieldType name="double" class="solr.DoublePointField" docValues="true"/>
<fieldType name="float" class="solr.FloatPointField" docValues="true"/>
<fieldType name="identifier" class="solr.StrField" sortMissingLast="true"/>
<fieldType name="ignored" class="solr.StrField" indexed="false" stored="false" multiValued="true"/>
<fieldType name="int" class="solr.IntPointField" docValues="true"/>
<fieldType name="location" class="solr.LatLonType" subFieldSuffix="_coordinate"/>
<fieldType name="long" class="solr.LongPointField" docValues="true"/>
<fieldType name="pdate" class="solr.DatePointField" docValues="true"/>
<fieldType name="pdates" class="solr.DatePointField" docValues="true" multiValued="true"/>
<fieldType name="pdouble" class="solr.DoublePointField" docValues="true"/>
<fieldType name="pdoubles" class="solr.DoublePointField" docValues="true" multiValued="true"/>
<fieldType name="pfloat" class="solr.FloatPointField" docValues="true"/>
<fieldType name="pfloats" class="solr.FloatPointField" docValues="true" multiValued="true"/>
<fieldType name="pint" class="solr.IntPointField" docValues="true"/>
<fieldType name="pints" class="solr.IntPointField" docValues="true" multiValued="true"/>
<fieldType name="plong" class="solr.LongPointField" docValues="true"/>
<fieldType name="plongs" class="solr.LongPointField" docValues="true" multiValued="true"/>
<fieldType name="point" class="solr.PointType" subFieldSuffix="_d" dimension="2"/>
<fieldType name="random" class="solr.RandomSortField" indexed="true"/>
<fieldType name="string" class="solr.TextField" sortMissingLast="true">
<analyzer type="index">
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer type="index">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" words="stopwords.txt" ignoreCase="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.StopFilterFactory" words="stopwords.txt" ignoreCase="true"/>
<filter class="solr.SynonymFilterFactory" expand="true" ignoreCase="true" synonyms="synonyms.txt"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<fieldType name="text_general" class="solr.TextField" positionIncrementGap="100" sortMissingLast="true" multiValued="true">
<analyzer type="index">
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
<analyzer type="query">
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
<field name="_root_" type="string" indexed="true" required="false" stored="true"/>
<field name="_version_" type="long" multiValued="false" indexed="true" stored="true"/>
<field name="custom_field" type="text" multiValued="true" indexed="true" required="false" stored="false"/>
<field name="custom_geolocation_field" type="location" indexed="true" required="false" stored="false"/>
<field name="custom_geolocation_field_0_coordinate" type="double" indexed="true" stored="false"/>
<field name="custom_geolocation_field_1_coordinate" type="double" indexed="true" stored="false"/>
<field name="document_type_id" type="string" indexed="true" required="true" stored="true"/>
<field name="id" type="string" indexed="true" required="true" stored="true"/>
<field name="timestamp" type="date" default="NOW" multiValued="false" indexed="true" stored="true"/>
<dynamicField name="*_gl_0_coordinate" type="double" indexed="true" stored="true"/>
<dynamicField name="*_gl_1_coordinate" type="double" indexed="true" stored="true"/>
<dynamicField name="random*" type="random" indexed="true" stored="false"/>
<dynamicField name="*_mid" type="identifier" multiValued="true" indexed="true" stored="true"/>
<dynamicField name="*_mi" type="int" multiValued="true" indexed="true" stored="true"/>
<dynamicField name="*_id" type="identifier" indexed="true" stored="true"/>
<dynamicField name="*_ms" type="string" multiValued="true" indexed="true" stored="true"/>
<dynamicField name="*_mb" type="boolean" multiValued="true" indexed="true" stored="true"/>
<dynamicField name="*_dt" type="date" indexed="true" stored="true"/>
<dynamicField name="*_gl" type="location" indexed="true" stored="true"/>
<dynamicField name="*_i" type="int" indexed="true" stored="true"/>
<dynamicField name="*_s" type="string" indexed="true" stored="true"/>
<dynamicField name="*_l" type="long" indexed="true" stored="true"/>
<dynamicField name="*_t" type="text" omitNorms="false" multiValued="true" indexed="true" stored="true"/>
<dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>
<dynamicField name="*_f" type="float" indexed="true" stored="true"/>
<dynamicField name="*_d" type="double" indexed="true" stored="true"/>
<copyField source="testtype_maplocation_value_location_gl" dest="custom_geolocation_field"/>
<copyField source="user_first_name_value_s" dest="custom_field"/>
<copyField source="user_last_name_value_s" dest="custom_field"/>
</schema>
\ No newline at end of file
<!-- Arabic -->
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<!-- for any non-arabic -->
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_ar.txt" />
<!-- normalizes ﻯ to ﻱ, etc -->
<filter class="solr.ArabicNormalizationFilterFactory"/>
<filter class="solr.ArabicStemFilterFactory"/>
</analyzer>
</fieldType>
# This file was created by Jacques Savoy and is distributed under the BSD license.
# See http://members.unine.ch/jacques.savoy/clef/index.html.
# Also see http://www.opensource.org/licenses/bsd-license.html
# Cleaned on October 11, 2009 (not normalized, so use before normalization)
# This means that when modifying this list, you might need to add some
# redundant entries, for example containing forms with both أ and ا
من
ومن
منها
منه
في
وفي
فيها
فيه
و
ف
ثم
او
أو
ب
بها
به
ا
أ
اى
اي
أي
أى
لا
ولا
الا
ألا
إلا
لكن
ما
وما
كما
فما
عن
مع
اذا
إذا
ان
أن
إن
انها
أنها
إنها
انه
أنه
إنه
بان
بأن
فان
فأن
وان
وأن
وإن
التى
التي
الذى
الذي
الذين
الى
الي
إلى
إلي
على
عليها
عليه
اما
أما
إما
ايضا
أيضا
كل
وكل
لم
ولم
لن
ولن
هى
هي
هو
وهى
وهي
وهو
فهى
فهي
فهو
انت
أنت
لك
لها
له
هذه
هذا
تلك
ذلك
هناك
كانت
كان
يكون
تكون
وكانت
وكان
غير
بعض
قد
نحو
بين
بينما
منذ
ضمن
حيث
الان
الآن
خلال
بعد
قبل
حتى
عند
عندما
لدى
جميع
<!-- CJK bigram -->
<fieldType name="text" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<!-- normalize width before bigram, as e.g. half-width dakuten combine -->
<filter class="solr.CJKWidthFilterFactory"/>
<!-- for any non-CJK -->
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.CJKBigramFilterFactory"/>
</analyzer>
</fieldType>
<fieldType name="text" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_de.txt" format="snowball" />
<filter class="solr.GermanNormalizationFilterFactory"/>
<filter class="solr.GermanLightStemFilterFactory"/>
<!-- less aggressive: <filter class="solr.GermanMinimalStemFilterFactory"/> -->
<!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="German2"/> -->
</analyzer>
</fieldType>
| From svn.tartarus.org/snowball/trunk/website/algorithms/german/stop.txt
| This file is distributed under the BSD License.
| See http://snowball.tartarus.org/license.php
| Also see http://www.opensource.org/licenses/bsd-license.html
| - Encoding was converted to UTF-8.
| - This notice was added.
|
| NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
| A German stop word list. Comments begin with vertical bar. Each stop
| word is at the start of a line.
| The number of forms in this list is reduced significantly by passing it
| through the German stemmer.
aber | but
alle | all
allem
allen
aller
alles
als | than, as
also | so
am | an + dem
an | at
ander | other
andere
anderem
anderen
anderer
anderes
anderm
andern
anderr
anders
auch | also
auf | on
aus | out of
bei | by
bin | am
bis | until
bist | art
da | there
damit | with it
dann | then
der | the
den
des
dem
die
das
daß | that
derselbe | the same
derselben
denselben
desselben
demselben
dieselbe
dieselben
dasselbe
dazu | to that
dein | thy
deine
deinem
deinen
deiner
deines
denn | because
derer | of those
dessen | of him
dich | thee
dir | to thee
du | thou
dies | this
diese
diesem
diesen
dieser
dieses
doch | (several meanings)
dort | (over) there
durch | through
ein | a
eine
einem
einen
einer
eines
einig | some
einige
einigem
einigen
einiger
einiges
einmal | once
er | he
ihn | him
ihm | to him
es | it
etwas | something
euer | your
eure
eurem
euren
eurer
eures
für | for
gegen | towards
gewesen | p.p. of sein
hab | have
habe | have
haben | have
hat | has
hatte | had
hatten | had
hier | here
hin | there
hinter | behind
ich | I
mich | me
mir | to me