FixMyBerlin / atlas-app

Radverkehrsatlas provides access to bicycle infrastructure data from OpenStreetMap (OSM) for administrative staff.
https://radverkehrsatlas.de/
GNU Affero General Public License v3.0
11 stars 4 forks source link

Dockerize Local Development #109

Closed rush42 closed 2 months ago

rush42 commented 3 months ago

This PR dockerizes the local development.

Notable changes:

After this it is required to copy the content of the .env.example file to .env. The devolopment bundle can then be started with docker compose up.

ohrie commented 3 months ago

Thanks, Looks good!

elsueno commented 3 months ago

I've checked out the branch and run:

cp .env.local .env
docker compose up

What I get is:

WARN[0000] The "GITHUB_SHA" variable is not set. Defaulting to a blank string. 
WARN[0000] The "TRAEFIK_HOST" variable is not set. Defaulting to a blank string. 
WARN[0000] The "TRAEFIK_HOST" variable is not set. Defaulting to a blank string. 
network processing_app_bridge declared as external, but could not be found
elsueno commented 3 months ago

And what problem is this PR going to solve? Which ticket?

rush42 commented 3 months ago

I've checked out the branch and run:

cp .env.local .env
docker compose up

What I get is:

WARN[0000] The "GITHUB_SHA" variable is not set. Defaulting to a blank string. 
WARN[0000] The "TRAEFIK_HOST" variable is not set. Defaulting to a blank string. 
WARN[0000] The "TRAEFIK_HOST" variable is not set. Defaulting to a blank string. 
network processing_app_bridge declared as external, but could not be found

Thanks for the feedback! I get the warnings as well, the network bridge error however is new to me. Which version of docker are you using ?

rush42 commented 3 months ago

And what problem is this PR going to solve? Which ticket?

https://github.com/FixMyBerlin/private-issues/issues/1643

ohrie commented 2 months ago

@elsueno

Which version of docker are you using ?

For me, I cannot reproduce your error.