Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F13142527
geoipupdate.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
geoipupdate.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# PaaS Docker
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/paas-docker/wrappers/files/geoipupdate.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
touch /srv/geoip/.geoipupdate.lock
GEOIPUPDATE_ACCOUNT_ID
=
$(
credential nasqueron/sentry/geoipupdate username
)
GEOIPUPDATE_LICENSE_KEY
=
$(
credential nasqueron/sentry/geoipupdate
)
docker run --rm
\
-e
GEOIPUPDATE_ACCOUNT_ID
=
"
$GEOIPUPDATE_ACCOUNT_ID
"
\
-e
GEOIPUPDATE_LICENSE_KEY
=
"
$GEOIPUPDATE_LICENSE_KEY
"
\
-e
GEOIPUPDATE_EDITION_IDS
=
"GeoLite2-ASN GeoLite2-City GeoLite2-Country"
\
-e
GEOIPUPDATE_PRESERVE_FILE_TIMES
=
1
\
-v /srv/geoip:/usr/share/GeoIP
\
maxmindinc/geoipupdate
rm /srv/geoip/.geoipupdate.lock
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Fri, Nov 21, 16:16 (8 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3176727
Default Alt Text
geoipupdate.sh (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment