-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add maxmind env var for geoip #13
base: master
Are you sure you want to change the base?
Changes from 2 commits
b39137e
3c9128e
70ed09f
d2da2e1
d36517c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,10 @@ FILE_STORE_SECRET_KEY=1password | |
|
||
GOOGLE_CLIENT_ID=PASTE_GOOGLE_CLIENT_ID | ||
|
||
# GeoIP MaxMind | ||
MAXMIND_ACCOUNT_ID =PASTE_MAXMIND_ACCOUNT_ID | ||
MAXMIND_LICENSE_KEY=PASTE_MAXMIND_LICENSE_KEY | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MAXMIND_ACCOUNT_ID is missing @saalim-mushtaq There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MaxMind GeoIPMAXMIND_ACCOUNT_ID =PASTE_MAXMIND_ACCOUNT_ID |
||
# Traefik admin dashboard | ||
|
||
# get md5 from htpasswd or http://www.htaccesstools.com/htpasswd-generator/ | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,6 +44,9 @@ services: | |
|
||
geoip: | ||
image: cryptlex/freegeoip:latest | ||
environment: | ||
MAXMIND_LICENSE_KEY: ${MAXMIND_LICENSE_KEY} | ||
MAXMIND_ACCOUNT_ID: ${MAXMIND_ACCOUNT_ID} | ||
ports: | ||
- 8080 | ||
networks: | ||
|
@@ -110,6 +113,8 @@ services: | |
REDIS_URL: # redis://cache:6379 - not required for single machine deployment | ||
GEOIPSERVER_URL: http://geoip:8080/json | ||
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID} | ||
MAXMIND_LICENSE_KEY: ${MAXMIND_LICENSE_KEY} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. MAXMIND_LICENSEKEY: ${MAXMIND_LICENSE_KEY} @saalim-mushtaq update here web api service has slightly different name for this env |
||
MAXMIND_ACCOUNT_ID: ${MAXMIND_ACCOUNT_ID} | ||
networks: | ||
- backend | ||
restart: unless-stopped | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saalim-mushtaq space
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@saalim-mushtaq space after MAXMIND_ACCOUNT_ID env