mock-api-server has 2 flask apps running simultaneously but separately.
It means when you change something (like variables) via http request you won't see changes via https request and vice versa.
But file sharing on the system works for both
docker-compose build
If you made any changes to api-mock service - rebuild it with the same above cmd
docker-compose up -d
docker-compose run tests
Replace entrypoint on tests service to infinite loop
docker-compose up -d
docker exec -it mock-db-server psql -U user -d mockdb
docker-compose down
docker logs YOUR_CONTAINER_NAME
or
docker logs YOUR_CONTAINER_ID