freifunk / vis.api.freifunk.net

Visualisation of Freifunk API data
GNU General Public License v3.0
3 stars 2 forks source link

Set up MongoDB on a remote server #32

Closed extua closed 3 months ago

extua commented 3 months ago

Kind of a general issue, MongoDB won't work on my laptop, due to lack of AVX support on my very primitive laptop CPU.

Thankfully most of the work has already been done to be able to deploy it anywhere.

extua commented 3 months ago

Tracking this to document later, this is for a server running Debian Bookworm:

Todo:

mtippmann commented 3 months ago

@extua maybe @andibraeu can setup some server ressources for you - just for testing it looks like mongodb has a cloud office with a free-tier up to 5gb of data here: https://www.mongodb.com/pricing

extua commented 3 months ago

@mtippmann I set up a server with Hetzner this morning, which is not too expensive and works for the moment. I will need a 'Freifunk' server from @andibraeu when it comes to deploy the finished process. In the meantime thanks for the tip about the free cloud tier! I'll see about setting that up later.

extua commented 3 months ago

@mtippmann here's a connection string for MongoDB Atlas

mongodb+srv://databaseReader:freifunkfreifunk@freifunktest.zsfzlav.mongodb.net/