/mds-provider

Services for working with MDS provider data

Primary LanguagePythonMIT LicenseMIT

mds-provider

Services for working with MDS provider data.

Local development

Requires both Docker and Docker Compose.

docker-compose commands below should be run from the root of this repository, where the docker-compose.yml file lives.

Container organization

The containers are organized around specific functions. More detailed explanation can be found in a container's README.md.

container description
client pgAdmin4 web client
fake Generate fake MDS provider data for testing and development
initdb Initialize an MDS provider database
server Local postgres database server

1. Create an .env file

Copy the sample and edit as necessary. Compose automatically sources this environment file for docker-compose commands.

$ cp .env.sample .env

2(a). Start (all of the) containers

Build and start all of the containers according to the dependencies outlined in docker-compose.yml.

$ docker-compose up -d --build --force-recreate

2(b). Start (individual) containers

See the README.md file in each container folder for more details.

3. Stop the containers

Shutdown and completely erase the containers and their resources.

$ docker-compose down