{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/devspace/issues/20","repository_url":"https://api.github.com/repos/openmicroscopy/devspace","labels_url":"https://api.github.com/repos/openmicroscopy/devspace/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/devspace/issues/20/comments","events_url":"https://api.github.com/repos/openmicroscopy/devspace/issues/20/events","html_url":"https://github.com/openmicroscopy/devspace/pull/20","id":143849985,"number":20,"title":"enable web and nginx slaves ","user":{"login":"aleksandra-tarkowska","id":1065155,"avatar_url":"https://avatars.githubusercontent.com/u/1065155?v=3","gravatar_id":"","url":"https://api.github.com/users/aleksandra-tarkowska","html_url":"https://github.com/aleksandra-tarkowska","followers_url":"https://api.github.com/users/aleksandra-tarkowska/followers","following_url":"https://api.github.com/users/aleksandra-tarkowska/following{/other_user}","gists_url":"https://api.github.com/users/aleksandra-tarkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/aleksandra-tarkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aleksandra-tarkowska/subscriptions","organizations_url":"https://api.github.com/users/aleksandra-tarkowska/orgs","repos_url":"https://api.github.com/users/aleksandra-tarkowska/repos","events_url":"https://api.github.com/users/aleksandra-tarkowska/events{/privacy}","received_events_url":"https://api.github.com/users/aleksandra-tarkowska/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-27T21:31:38Z","updated_at":"2016-03-29T14:30:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/devspace/pulls/20","html_url":"https://github.com/openmicroscopy/devspace/pull/20","diff_url":"https://github.com/openmicroscopy/devspace/pull/20.diff","patch_url":"https://github.com/openmicroscopy/devspace/pull/20.patch"},"body":"This PR improves existing web infrastructure introduced in https://github.com/openmicroscopy/devspace/pull/19\r\n\r\n```\r\n$ docker ps\r\nCONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                                   NAMES\r\n2036d9641125        devspace_web        \"/usr/sbin/init\"         2 minutes ago       Up 2 minutes        22/tcp, 0.0.0.0:4080->4080/tcp          devspace_web_1\r\n5f94f815fe7b        devspace_slave      \"/tmp/jenkins-slave.s\"   2 minutes ago       Up 2 minutes                                                devspace_slave_1\r\na773bc06f903        devspace_nginx      \"/usr/sbin/init\"         2 minutes ago       Up 2 minutes        22/tcp, 443/tcp, 0.0.0.0:8888->80/tcp   devspace_nginx_1\r\n41121d7114bd        devspace_jenkins    \"/bin/tini -- /usr/lo\"   2 minutes ago       Up 2 minutes        0.0.0.0:8080->8080/tcp, 50000/tcp       devspace_jenkins_1\r\n89b0a8f675b1        postgres            \"/docker-entrypoint.s\"   2 minutes ago       Up 2 minutes        5432/tcp                                devspace_pg_1\r\n0d64ddcb5ce7        redis               \"/entrypoint.sh redis\"   2 minutes ago       Up 2 minutes        0.0.0.0:6379->6379/tcp                  devspace_redis_1\r\n```\r\n\r\nnginx is available on http://$(docker-machine ip omerodev):8888\r\n\r\n - use swarm plugin 2.0\r\n - use latest omero-install and fix Dockerfile\r\n - make nginx a jenkins node\r\n - allow systemd to start services on web and nginx\r\n - allow linking nginx config and statics\r\n - add redis node\r\n\r\n```\r\njenkins_1 | Mar 26, 2016 9:41:49 PM hudson.TcpSlaveAgentListener$ConnectionHandler run\r\njenkins_1 | INFO: Accepted connection #1 from /172.17.0.7:58020\r\njenkins_1 | Mar 26, 2016 9:41:49 PM hudson.TcpSlaveAgentListener$ConnectionHandler run\r\njenkins_1 | INFO: Accepted connection #2 from /172.17.0.6:38142\r\njenkins_1 | Mar 26, 2016 9:41:49 PM hudson.TcpSlaveAgentListener$ConnectionHandler run\r\njenkins_1 | INFO: Accepted connection #3 from /172.17.0.5:42540\r\n```\r\n\r\n### NOTE:\r\n - BF job failed, see details below, **DO NOT USE TRIGER**\r\n - https://github.com/openmicroscopy/openmicroscopy/pull/4544 is required\r\n - OMERO-build uses <name>SPACEBRANCH/merge/daily</name>\r\n\r\n### MORE TODO:\r\n\r\n- [ ] jenkins ip in web job https://github.com/joshmoore/devspace/pull/1/files#diff-f9a547ad226d5c0d8302f247b9ff5c39R91\r\n- [ ] redis host in web job https://github.com/joshmoore/devspace/pull/1/files#diff-f9a547ad226d5c0d8302f247b9ff5c39R89\r\n- [ ] ports in overwrite file (e.g. docker-compose.osx.yml) https://github.com/joshmoore/devspace/pull/1/files#r57531628\r\n- [ ] improve env vars https://github.com/joshmoore/devspace/pull/1/files#r57534213\r\n- [ ] robot framework using https://github.com/ubuntu-core/jenkins-swarm-slave-ubuntu/blob/master/Dockerfile"},"comment":{"url":"https://api.github.com/repos/openmicroscopy/devspace/issues/comments/202921642","html_url":"https://github.com/openmicroscopy/devspace/pull/20#issuecomment-202921642","issue_url":"https://api.github.com/repos/openmicroscopy/devspace/issues/20","id":202921642,"user":{"login":"manics","id":1644105,"avatar_url":"https://avatars.githubusercontent.com/u/1644105?v=3","gravatar_id":"","url":"https://api.github.com/users/manics","html_url":"https://github.com/manics","followers_url":"https://api.github.com/users/manics/followers","following_url":"https://api.github.com/users/manics/following{/other_user}","gists_url":"https://api.github.com/users/manics/gists{/gist_id}","starred_url":"https://api.github.com/users/manics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manics/subscriptions","organizations_url":"https://api.github.com/users/manics/orgs","repos_url":"https://api.github.com/users/manics/repos","events_url":"https://api.github.com/users/manics/events{/privacy}","received_events_url":"https://api.github.com/users/manics/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T14:30:10Z","updated_at":"2016-03-29T14:30:10Z","body":"Can you try a minimal docker-compose file that just starts up omero-ssh-systemd, and play around with the parameters?"}}