You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #253, I would like to use the explicit exec form in "wait" to execute the following Docker command after creating a MongoDB container instance:
One alternative, could be to use a separate "cmd" (that already supports explicit exec form), block on the "wait" completing before running the command.
What do you think?
Currently, [https://github.com/scottmarlow/wildfly-swarm/commits/docker] is not creating a MongoDB user but I would like to change that.
Thanks,
Scott
The text was updated successfully, but these errors were encountered:
Doesn't <exec><postStart>... fit your bill ? Couldn't you already put the command as script into your mongodb image ? We could introduce something like a more complex configuration here, shouldn't be hard. The only challenge would be to keep backwards compat. (e.g. to default to the 'shell' form).
Similar to #253, I would like to use the explicit exec form in "wait" to execute the following Docker command after creating a MongoDB container instance:
I need to wait until the MongoDB server has started, before issuing the command, so I would like to do something like:
One alternative, could be to use a separate "cmd" (that already supports explicit exec form), block on the "wait" completing before running the command.
What do you think?
Currently, [https://github.com/scottmarlow/wildfly-swarm/commits/docker] is not creating a MongoDB user but I would like to change that.
Thanks,
Scott
The text was updated successfully, but these errors were encountered: