kartoza / least-cost-electrification-somalia

Global Electrification Platform for Global
1 stars 0 forks source link

Remote service ingestion uses wrong proxy url #44

Closed lucernae closed 2 years ago

lucernae commented 2 years ago

@NyakudyaA discovered that remote ingestion doesn't work. The screenshot suggest that the proxy url was misconfigured, so probably the internal docker container environment settings were not properly set up.

remote-serv

@meomancer can you investigate this first?

meomancer commented 2 years ago

hi @lucernae PR : https://github.com/kartoza/least-cost-electrification-somalia/pull/46

The problem SITEURL on worker is not set because the entripoint.sh that is generating SITEURL is not called on run entrypoint.sh is also called on Dockerfile, it seems that the image of django was generated while the env was not updated

maybe we can call the entrypoint.sh as docker entrypoint (as per PR) or maybe we can rebuild the image

lucernae commented 2 years ago

The PR works nicely. Thanks @meomancer .

@NyakudyaA I deployed the fix and reharvesting the layer works.