Hey all! Is it possible to set default workspace I...
# ask-community-for-troubleshooting
m
Hey all! Is it possible to set default workspace ID by myself before running docker compose? If yes, tell me please how to do that 🙏
h
Hey ideally only one workspace will be created thus once it is created you can use that as the default
m
Yes, it is okay, I don't want to create more than a default workspace. But can I set an ID for this default workspace? As I know, Airbyte set a random ID for the default workspace, but I want to set it by myself in some environment variable, for example.
h
Hey I don't think we have that as a feature but could you explain any reason why you want something like this?
m
Yep I have many services in my product (including Airbyte) which I want to run in a single Docker Compose and some of the services should have a workspace ID to work with Airbyte. So I want to pass the workspace ID as an environment variable to the services, but I can't because it is automatically generating at a runtime.
l
Any updates ?
m
@Lucas Gonthier I created a separate service called
airbyte-init-internal
that creates a new workspace in the the Airbyte if it was not done yet.
l
Ok, thanks !