OpenDRR / opendrr-api

REST API for OpenDRR data / API REST pour les données OpenDRR
MIT License
4 stars 7 forks source link

add_data.sh: Reduce disk usage (Phase 1) #177

Closed anthonyfok closed 2 years ago

anthonyfok commented 2 years ago

Try to reduce disk footprint during stack build by removing data files that have been imported into PostGIS. Note this commit is only the first step and by no means complete.

Thanks to Drew Rotheram (@drotheram) for the idea.

P.S. To keep the downloaded data without removing, set ADD_DATA_REDUCE_DISK_USAGE = false in the .env file. P.P.S. Saves about 5 GiB at the moment.