delete docker compose (we moved it to infra/local) and update readme … #102
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Wilfredo and I pair coded to move the docker-compose into infra, so that we can simultaneously debug the platform-admin-api and the main api at the same time if needed. The readme has been updated to include the commands required in order to run and debug in this manner.
See infra PR:
String-xyz/infra#18
The PR for str-373 is still in progress but includes these updates.
To test: (Instructions are now also included in readme.md in the main API)
You can run docker compose from any repo now, and it will compose string-api, platform-admin-api, postgres and redis.
Some initial sanitation: [do this from the infra repo]
cd local
docker compose down
docker system prune
(/y)docker volume prune
(/y)And then this can be run from any repo:
4)
docker compose -f ../infra/local/docker-compose.yml up
You should automatically get console output from whichever repo you run the previous command from. To get live console output from the other repo:
docker ps
to list the docker container namesdocker logs [docker container name] -f
docker logs platform-admin-api -f
ordocker logs string-api -f
from a terminal in the repo you did not run the docker compose from