banjtheman / defundthepolice

Defund The Police
Apache License 2.0
21 stars 30 forks source link

Feature/docker compose two apps #43

Closed mralanlee closed 3 years ago

mralanlee commented 3 years ago

Closes #41.

Just an FYI, the requirement states to use docker-compose-api.yml as a filename, but I reserved the docker-compose.<app>.yml convention to preserve syntax highlighting.

You can test to see this works by running docker-compose -p dpf -f docker-compose.yml -f docker-compose.api.yml up.

The curl command to test (curl "localhost:9000/getdata?state=VA&county=Arlingtion"), which is stated in the issue, does not work because the states table isn't created anywhere in the original postgres image.

banjtheman commented 3 years ago

noted making new issue for the API