-
Notifications
You must be signed in to change notification settings - Fork 38
Fix "Getting Started" documentation #499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
First of all, many thanks for reporting the issue(s)!
Actually, suggested fixes would be but temporary, and would "force" user to build locally. An alternative would be to add version to the image tag of Synapse-related services. See #418
That shouldn't occur. The Docker Runtime should ensure that the configured image exists locally, or should attempt to download it.
That is wierd. Given you have updated the
Yes, you are wrong, but understandably so. As a matter of fact, Synapse's version is different from that of the SDK it uses, which is up to |
I have a few thoughts here:
I'm obviously not familiar enough with the project so I'll ask you to forgive me if I'm horribly wrong or if these ideas are already implemented. |
I've been trying to setup Synapse locally, using Docker, on Windows 11 and ran into a couple of issues while following the instructions from the repo readme file (Getting Started section).
🟡 - Needs documentation changes
🟢 - Needs to be added to documentation
🔴 - Might need code/configuration changes
🟡 Step 3 needs to be updated from:
docker-compose build
to:
docker-compose -f docker-compose.build.yml build
🟡 Step 4 needs to be updated from:
docker-compose up
to:
docker-compose -f docker-compose.build.yml up
🟢 Should add a mention that we need to pull a runner image to be able to run a workflow. For example:
docker pull ghcr.io/serverlessworkflow/synapse/runner:1.0.0-alpha5
🔴 I had to trick Synapse into running this
alpha5
image by running this command:docker tag ghcr.io/serverlessworkflow/synapse/runner:1.0.0-alpha5 ghcr.io/serverlessworkflow/synapse/runner:1.0.0
What did I miss here?
🔴 I had to modify the
docker-compose.build.yml
file in two ways.The
garnet
tag from:to:
and in the
operator.environment
section I had to add this:SYNAPSE_RUNTIME_DOCKER_SECRETS_DIRECTORY: C:\Users\[MY_USER]\.synapse
This is clearly not cross-platform friendly but we need to either fix it or document it properly.
🟡 The example workflow definition needs to be updated from:
to:
By this, I mean that we need to make it more clear that the version can't just be copy-pasted (or actually solve that problem) and that the formatting of the
do...greet
is wrong.🟡 We also need to mention that the version of the
dsl
property should match the version of the runner image that was pulled. Or at least that's what I thought. Am I wrong?I can open a p.r. for this once the discussion is settled.
The text was updated successfully, but these errors were encountered: