LukePrior / nbn-upgrade-map

Interactive map showing premises eligible for the NBN FTTP upgrade program.
https://nbn.lukeprior.com/
MIT License
137 stars 11 forks source link

minus34/gnafloader:latest is huge (32GB) - consider using a smaller image #98

Closed lyricnz closed 1 year ago

lyricnz commented 1 year ago

It contains lots of information that we don't need (this tool only uses one table: address_principals) - and we have to make an index ourselves. Maybe we can make a process to "cut it down" a bit.

lyricnz commented 1 year ago

Upstream Dockerfile https://github.com/minus34/gnaf-loader/blob/master/docker/Dockerfile

lyricnz commented 1 year ago

Create table: https://github.com/minus34/gnaf-loader/blob/master/postgres-scripts/03-01-reference-create-tables.sql#L40

Will script something...