This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
Running dredd itself and hook server in separate docker containers #748
Closed
Description
Hi, first of all, thanks for dredd, it is great tool!
Im trying to start my hook tcp server in separate docker container and then run dredd tool itself in another container and link them together. The motivation is that I need to bootstrap our app in hook file, create some fixtures etc. but dont want to bloat our production image with dredd.
My idea was something like:
docker run -d --network dredd --name hook-server my-app-image php start-server.php hooks.php --listen "0.0.0.0" --port 61321
docker run --rm --network dredd -v "/blueprint.apib:/blueprint.apib"--name dredd dred-image dredd /blueprint.apib http://api --hooks-worker-handler-port 61321 --hooks-worker-handler-host hook-server
Is something like this supposed to work? Im not sure, if hook server must be started by dredd itself...
Thanks in advance!