{"action":"created","issue":{"url":"https://api.github.com/repos/resin-io/resin-cli/issues/836","repository_url":"https://api.github.com/repos/resin-io/resin-cli","labels_url":"https://api.github.com/repos/resin-io/resin-cli/issues/836/labels{/name}","comments_url":"https://api.github.com/repos/resin-io/resin-cli/issues/836/comments","events_url":"https://api.github.com/repos/resin-io/resin-cli/issues/836/events","html_url":"https://github.com/resin-io/resin-cli/issues/836","id":309416847,"number":836,"title":"Multi container communication in resinOS","user":{"login":"agherzan","id":1746941,"avatar_url":"https://avatars0.githubusercontent.com/u/1746941?v=4","gravatar_id":"","url":"https://api.github.com/users/agherzan","html_url":"https://github.com/agherzan","followers_url":"https://api.github.com/users/agherzan/followers","following_url":"https://api.github.com/users/agherzan/following{/other_user}","gists_url":"https://api.github.com/users/agherzan/gists{/gist_id}","starred_url":"https://api.github.com/users/agherzan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agherzan/subscriptions","organizations_url":"https://api.github.com/users/agherzan/orgs","repos_url":"https://api.github.com/users/agherzan/repos","events_url":"https://api.github.com/users/agherzan/events{/privacy}","received_events_url":"https://api.github.com/users/agherzan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-28T15:26:58Z","updated_at":"2018-03-29T08:26:28Z","closed_at":null,"author_association":"OWNER","body":"_From @cschroeter on March 28, 2018 15:0_\r\n\r\nWhat an amazing project! Maybe you could help me with the following scenario\r\n\r\nSo as far as I understand, right now it is not possible to push a docker-compose.yml with \r\n\r\n```resin local push resin.local --source .```  as mentioned in https://github.com/resin-os/meta-resin/issues/414\r\n\r\nSo given the following docker-compose.yml I must create two different Dockerfiles and push them separately, or? What is the recommended way to realize local multi container deployments.\r\n\r\n```version: \"2\"\r\nservices:\r\n  app:\r\n    build: .    \r\n    command: npm start\r\n    ports:\r\n      - \"5000:5000\"\r\n    depends_on:\r\n      - postgres\r\n    environment:\r\n      DATABASE_URL: postgres://username@postgres/database\r\n  postgres:\r\n    image: postgres:alpine\r\n    environment:\r\n      POSTGRES_PASSWORD: password\r\n      POSTGRES_USER: username\r\n      POSTGRES_DB: database\r\n```\r\n\r\n_Copied from original issue: resin-os/meta-resin#1046_"},"comment":{"url":"https://api.github.com/repos/resin-io/resin-cli/issues/comments/377161718","html_url":"https://github.com/resin-io/resin-cli/issues/836#issuecomment-377161718","issue_url":"https://api.github.com/repos/resin-io/resin-cli/issues/836","id":377161718,"user":{"login":"shaunmulligan","id":3915043,"avatar_url":"https://avatars1.githubusercontent.com/u/3915043?v=4","gravatar_id":"","url":"https://api.github.com/users/shaunmulligan","html_url":"https://github.com/shaunmulligan","followers_url":"https://api.github.com/users/shaunmulligan/followers","following_url":"https://api.github.com/users/shaunmulligan/following{/other_user}","gists_url":"https://api.github.com/users/shaunmulligan/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunmulligan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunmulligan/subscriptions","organizations_url":"https://api.github.com/users/shaunmulligan/orgs","repos_url":"https://api.github.com/users/shaunmulligan/repos","events_url":"https://api.github.com/users/shaunmulligan/events{/privacy}","received_events_url":"https://api.github.com/users/shaunmulligan/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T08:26:28Z","updated_at":"2018-03-29T08:26:28Z","author_association":"NONE","body":"Hey @agherzan and @cschroeter we are in the process of making `resin local push` compatible with multiple containers, but in the meantime the process I would recommend is to use the remote docker API with docker-compose on your machine. I have an example of that workflow here:\r\n\r\nhttps://github.com/resin-io-playground/resinos-compose"}}
{"actor":{"display_login":"shaunmulligan"}}