From d4b7248feb006d06c2c0d74d4f247f83649dedea Mon Sep 17 00:00:00 2001 From: Peter Gribanov Date: Thu, 6 Feb 2020 18:46:57 +0300 Subject: [PATCH] configure gpslab/geoip2:~2.0 install empty config use environment variables commit expected config comment expected config --- .../geoip2/2.0/config/packages/gpslab_geoip.yaml | 8 ++++++++ gpslab/geoip2/2.0/manifest.json | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml create mode 100644 gpslab/geoip2/2.0/manifest.json diff --git a/gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml b/gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml new file mode 100644 index 00000000..0061476b --- /dev/null +++ b/gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml @@ -0,0 +1,8 @@ +# Read the README file for more detailed configuration information +# https://github.com/gpslab/geoip2 +#gpslab_geoip: +# # You should specify your personal licence key +# license: '%env(GEOIP_LICENSE)%' +# +# # Edition ID of database you need +# edition: 'GeoLite2-City' diff --git a/gpslab/geoip2/2.0/manifest.json b/gpslab/geoip2/2.0/manifest.json new file mode 100644 index 00000000..3008185f --- /dev/null +++ b/gpslab/geoip2/2.0/manifest.json @@ -0,0 +1,14 @@ +{ + "bundles": { + "GpsLab\\Bundle\\GeoIP2Bundle\\GpsLabGeoIP2Bundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "composer-scripts": { + "geoip2:update": "symfony-cmd" + }, + "env": { + "GEOIP_LICENSE": "" + } +}