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.
Closes #41.
Just an FYI, the requirement states to use
docker-compose-api.yml
as a filename, but I reserved thedocker-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 thestates
table isn't created anywhere in the original postgres image.