microscopic-painter-84459
05/31/2024, 2:59 PMif ory list projects | grep -q local-dev-sandbox; then
echo "Development sandbox project already exists, skipping..."
else
ory create project --name "local-dev-sandbox"
fi
• The tunnel is then started for that project allowing the Ory APIs to be accessible locally
This allows developers to pull this repo once, add their credentials to the .env, and have an open tunnel to a development project that runs alongside our other dockerized applications. The main question I have is how do we keep this local development project in sync with our staging and production applications?
We are managing our Ory configuration in Git, and I see a potential solution here but it just feels incredibly janky. We’re using env var replacement but it requires pulling the unique values (domains, etc) from the development project first and ensure those are in an env file when applying the configuration to the dev project and things just feel very fragile.
We’re considering just self hosting containers locally and using Ory Network in higher environments, but we’re worried about a config drift in that case as well as it doesn’t seem like the config settings at 1:1 between Network and Ory Hydra\Kratos\Keto\Oathkeeper. Another solution is to have the developers share a development environment, but the worry there is that a single change could break auth locally for all other developers and that’s a non-starter.
If anyone else can share their experience working with Ory Network locally that would be much appreciated.steep-lamp-91158
steep-lamp-91158
billowy-actor-35983
05/31/2024, 6:20 PMmicroscopic-painter-84459
05/31/2024, 6:23 PMbillowy-actor-35983
05/31/2024, 6:25 PM