These are chat archives for apparatus/fuge
fuge shell ./fuge/compose-dev.ymldid work. It seems that processes run fine as
nodebut I can't find how to (or figure out if fuge is meant to) run services locally as docker containers. I assume the runDocker config key is for adding other services, but I assumed it would be useful to use fuge to also test a docker compose deployment.
docker-compose buildin the docker-compose.yml file? Or
docker runas the
fuge_*image names and changing runDocker to
truedoes seem to bring up the docker services into the fuge shell but starting them bumps into a hapi error about a missing port. I guess I'm on the right path though...
I think the error comes from the fact that apparently ENV variables are not passed to docker run. Instead something strange happens with the
10000 variable being set to
running: PROXY_HOST=127.0.0.1 SERVICE_HOST=0.0.0.0 frontend_PORT=10000 api_PORT=10001 service1_PORT=10002 service2_PORT=10003 SERVICE_PORT=20000 SERVICE_HOST=0.0.0.0 SERVICE_PORT=20000 PROXY_HOST=192.168.99.100 frontend_PORT=10000 api_PORT=10001 service1_PORT=10002 service2_PORT=10003 exec docker run --name frontend -p 10000:20000 -e 10000=20000 fuge_frontend