Skip to content

Use service container for mongodb on ubuntu - #61

Merged
dennisvang merged 8 commits into
mainfrom
fix/mongo-ubuntu
Nov 10, 2026
Merged

dennisvang merged 8 commits into
mainfrom
fix/mongo-ubuntu

Conversation

@dennisvang

@dennisvang dennisvang commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

The previous implementation for running mongodb via compose file did not work because the file path is evaluated in the context of the calling workflow.

For this reason we now use a service container, which is probably a better approach anyhow.

Also see create-postgresql-service-containers

the compose file approach did not work because the file path is evaluated in the comtext of the calling workflow
workarounds are possible, but using services is probably cleaner
if condition is not supported in services, but docs say we can set empty image to prevent a service from starting
@dennisvang
dennisvang merged commit 8dc4909 into main Nov 10, 2026
9 checks passed
@dennisvang
dennisvang deleted the fix/mongo-ubuntu branch November 10, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant