Closed hubertdeng123 closed 1 week ago
To avoid saving state, I think we can use docker compose ls
as it shows us which projects are in use
❯ docker compose ls NAME STATUS CONFIG FILES devservices running(3) /Users/hubertdeng/code/relay/devservices/config.yml,/Users/hubertdeng/code/snuba/devservices/config.yml
It seems also more reasonable to use COMPOSE_PROJECT_NAME
to specify the service name as compose project for our uses so our project names are not all devservices
Dependencies of snuba: clickhouse, redis, kafka
Dependencies of relay: redis, kafka
If snuba and relay are both started with devservices and user tries to stop relay, redis and kafka should stay up because snuba is using them too.