Data4Democracy / are-you-fake-news

16 stars 3 forks source link

Dockerization - docker-compose #22

Open N2ITN opened 5 years ago

N2ITN commented 5 years ago

Status

Assigning to @ Refers to this branch https://github.com/N2ITN/are-you-fake-news/tree/develop-dockerize

Issue

As new microservices are added to the app, the docker-compose files will evolve. As of the time of writing this issue, issuing the commands docker compose build && docker compose up from the ./docker/ directory will start up a web app, mongo instance, and prediction service.

There are plans to add a persistent volume for rendered plot images, and web scraping services.

Additionally a new docker-compose file for data collection and model training will need to be created, as per https://github.com/Data4Democracy/are-you-fake-news/issues/19 & https://github.com/Data4Democracy/are-you-fake-news/issues/20. This is an ongoing effort that will be central to coordinating the integrity of the app services.

Tasks