configure gpslab/geoip2:~2.0

install empty config

use environment variables

commit expected config

comment expected config
This commit is contained in:
Peter Gribanov
2020-03-16 11:48:45 +03:00
parent 0153a82a84
commit d4b7248feb
2 changed files with 22 additions and 0 deletions
@@ -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'
+14
View File
@@ -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": ""
}
}