Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Rocky Assad
    @CodisRedding
    meaning that it knows about each service?
    Adrian Rossouw
    @AdrianRossouw
    we want to divorce it from that so it could be used in other kinds of deployment pipeline
    well, we currently use the docker-compose.yml format exclusively
    and have to keep parity with it
    Rocky Assad
    @CodisRedding
    some kind of anti corruption interop between it and the services?
    Adrian Rossouw
    @AdrianRossouw
    which means ifyou have a deployment pipeline that doesn’t use docker .. it’s kind of extra work
    nope we just co-opted the file format
    so our service.yml files ARE docker-compose files
    Rocky Assad
    @CodisRedding
    ah right
    Adrian Rossouw
    @AdrianRossouw
    which is great if youre using docker for shit
    but extra work if you aren't
    Rocky Assad
    @CodisRedding
    yeah, which we are not yet. it’s been a super hard adoption process
    Adrian Rossouw
    @AdrianRossouw
    so we’re going to be changing it so that it can generate docker-compose files for you from our stuff
    or terraform
    or whatever
    basically so that your deployment scripts, whatever they may be, have ways to be told what your services are
    Rocky Assad
    @CodisRedding
    I’d love to put a visual (generate a diagram) on the fuge services running, and interacting
    much like parsing node files for requires and drawing out how dependences intereacte
    Dean McDonnell
    @mcdonnelldean
    You should!
    Josh Reeter
    @jreeter
    is there a way to tell services to log all in/out messages in fuge
    the odd thing is one service is doing it but not all and I don't see any kind of flag set
    Nathan Heskew
    @heskew
    @/all anyone have thoughts on this? being down in xeno-compose I'm not sure anyone noticed the issue being created. :) I can submit a PR if it's really a bug but wanted to get some input on it first. It seems to legitimately break a scenario where a devDependency with a mysql container dependency and associated folders to mount as volumes causes trouble. apparatus/xeno-compose#5
    Rocky Assad
    @CodisRedding
    hey all, if I create a dev env using fuge for all of our frontend, services, and db’s, how can I spinup only the services, db’s that I need for the dev task at hand? Is there a way to say fuge run front-end, svc1, svc2, redis1
    or better yet fuge run <some-alias> (runs the above, but aliased)
    Rocky Assad
    @CodisRedding
    Do you all run into issue when referencing local (i.e. artifactory) npm modules within a Dockerfile?
    Rocky Assad
    @CodisRedding
    nvm, needed to ADD ~/.npmrc ~
    Rocky Assad
    @CodisRedding
    hi @mitchellparsons
    Mitchell
    @mitchellparsons
    hello
    S McDowall
    @sjmcdowall
    So am I missing where any / all the documentation for fuge is? Intro — examples — etc. etc?
    Adrian Rossouw
    @AdrianRossouw
    there isn’t much of it. sadly.
    it was on my list before i got sucked into module curation
    it should be pretty self explanatory once you get a new system set up with fuge generate system
    in your current dir, it will create a new system with 2 seneca based services, a hapi or express based REST layer on top of them, and a static file server for hosting your client side app on
    you can then run it using fuge shell fuge/system.yml and start
    the readme is relatively up to date, but the animated gif on that page is not,. it still shows an old version of the generators being run
    Adrian Rossouw
    @AdrianRossouw
    fuge 0.6.4 released - adds seneca 2.0 as basis for all services.
    Ghost
    @ghost~559d399815522ed4b3e3a63a
    Hi. I want to launch hello world and follow README and face this:
    compiling...
    starting proxy...
    proxy frontend 10000 -> 192.168.8.100:20000
    proxy api 10001 -> 192.168.8.100:20001
    proxy service1 10002 -> 192.168.8.100:20002
    proxy service2 10003 -> 192.168.8.100:20003
    container not found
    container not found
    container not found
    client error: 10000 -> 192.168.8.100:20000 => ECONNREFUSED
    please retry operation
    Adrian Rossouw
    @AdrianRossouw
    try running ‘fuge shell fuge/compose-dev.yml'
    also killall node first
    if you tried to run it bnefore, it might still be running in the background
    Ghost
    @ghost~559d399815522ed4b3e3a63a
    Sorry, doesn't work: http://pastebin.com/fqtvEd4Y
    Does it require Docker?
    Ah, ok, I have started processes from shell, now it works
    Jun Matsushita
    @jmatsushita
    Hi @AdrianRossouw I ran into the same problem than @ilyaigpetrov but in my case running fuge shell ./fuge/compose-dev.yml did work. It seems that processes run fine as node but 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.
    Maybe I just need to add the images names after building them with docker-compose build in the docker-compose.yml file? Or docker run as the defaults.run command in fuge-config.js ?
    Jun Matsushita
    @jmatsushita
    Adding fuge_* image names and changing runDocker to true does 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...
    Jun Matsushita
    @jmatsushita

    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 20000 :)

    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

    Maybe related to #18
    William P. Riley-Land
    @wprl
    Is there a way to add a custom generator to fuge?
    Dean McDonnell
    @mcdonnelldean
    @/all Just to note, we have a big ol’ example repo that uses fuge, it’s a great repo to work through and see a sample of how we use it. https://github.com/nodezoo/nodezoo-system