1
I understand that /var/www/discourse/vendor/data/ is used to store the GeoLite2-ASN.mmdb and GeoLite2-City.mmdb map files.
I noticed there’s also an RT_sRGB.icm file in /var/www/discourse/vendor/data/. What is this file used for, and what is its primary function?
I’m deploying Discourse using containers and want to mount /var/www/discourse/vendor/data/ to a host directory:
- volume:
host: /opt/1panel/apps/discourse/shared/standalone/vendor-data
guest: /var/www/discourse/vendor/data
In the future, I plan to manually update the map files GeoLite2-ASN.mmdb and GeoLite2-City.mmdb on the host (since my MaxMind account cannot automatically download GeoLite2-City.mmdb). Do I need to also transfer the RT_sRGB.icm file to the host directory: /opt/1panel/apps/discourse/shared/standalone/vendor-data? If I do transfer it, I’m concerned that the RT_sRGB.icm file might get updated.
Lilly 2
i think it’s a ICC/ICM color profile file for handling sRGB images. i think i would keep it and mount it with the GeoLite files.
supermathie (Michael Brown) 3
It might be easiest to manage if you symlink the GeoIP files in /var/www/discourse/vendor/data to a separate mount containing GeoIP files from the host, then you don’t need to worry about anything else in that directory.


























