Skip to content

Instantly share code, notes, and snippets.

@maccyber
Created March 15, 2017 22:40
Show Gist options
  • Save maccyber/042467eac7a38b2d2cb639cb02c33f7f to your computer and use it in GitHub Desktop.
Save maccyber/042467eac7a38b2d2cb639cb02c33f7f to your computer and use it in GitHub Desktop.
# docker-compose logs
Attaching to dockerhub-webhook
dockerhub-webhook | 170315/223033.121, [log,Server running at: http://c1b4519c9fc3:3000] data: (none)
dockerhub-webhook | 170315/223033.131, [log,Serving hook at: http://c1b4519c9fc3:3000/api/abc123] data: (none)
dockerhub-webhook | 170315/223524.262, (1489617324242:c1b4519c9fc3:7:j0bjiqtg:10000) [request,debug] data: Payload from docker hub:
dockerhub-webhook | 170315/223524.263, (1489617324242:c1b4519c9fc3:7:j0bjiqtg:10000) [request,debug] data: {"push_data":{"pushed_at":1489617323,"images":[],"tag":"latest","pusher":"maccyber"},"callback_url":"https://registry.hub.docker.com/u/maccyber/maccyber.io/hook/*sens*/","repository":{"status":"Active","description":"Website maccyber.io","is_trusted":true,"full_description":"[![Build Status](https://travis-ci.org/maccyber/maccyber.io.svg?branch=master)](https://travis-ci.org/maccyber/maccyber.io)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n[![npm version](https://badge.fury.io/js/maccyber.io.svg)](https://badge.fury.io/js/maccyber.io)\n[![imagelayers](https://badge.imagelayers.io/maccyber/maccyber.io:latest.svg)](https://imagelayers.io/?images=maccyber/maccyber.io:latest)\n# maccyber.io\n...\n\n## Docker\n\nBuild the image\n\n```sh\n$ docker-compose up -d\n```\n\n","repo_url":"https://hub.docker.com/r/maccyber/maccyber.io","owner":"maccyber","is_official":false,"is_private":false,"name":"maccyber.io","namespace":"maccyber","star_count":0,"comment_count":0,"date_created":1460473284,"dockerfile":"###########################################################\n#\n# Dockerfile for api.maccyber.io\n#\n###########################################################\n\n# Setting the base to nodejs 4.4.1\nFROM mhart/alpine-node:latest\n\n# Maintainer\nMAINTAINER Jonas Enge\n\n#### Begin setup ####\n\n# Installs git\nRUN apk add --update git && rm -rf /var/cache/apk/*\n\n# Bundle app source\nCOPY . /src\n\n# Change working directory\nWORKDIR \"/src\"\n\n# Install dependencies\nRUN npm install\n\n# Env variables\n#ENV SERVER_PORT 3000\n#ENV JWT_SECRET passwordpasswordpasswordpassword\n#ENV DB_HOST localhost\n#ENV DB_PORT 27017\n#ENV DB_NAME maccyberio\n#ENV DB_COLLECTION comments\n\n# Expose 3000\nEXPOSE 3000\n\n# Startup\nENTRYPOINT node standalone.js\n","repo_name":"maccyber/maccyber.io"}}
dockerhub-webhook | 170315/223524.263, (1489617324242:c1b4519c9fc3:7:j0bjiqtg:10000) [request,debug] data: Running hook on repo: maccyber/maccyber.io
dockerhub-webhook | 170315/223524.242, [response] http://c1b4519c9fc3:3000: post /api/abc123 {} 204 (46ms)
dockerhub-webhook | 170315/223551.363, (1489617324242:c1b4519c9fc3:7:j0bjiqtg:10000) [request,debug] data: Pulling dbserver (mongo:3.2)...
dockerhub-webhook | Pulling webserver (maccyber/maccyber.io:latest)...
dockerhub-webhook | testmaccyberio_dbserver_1 is up-to-date
dockerhub-webhook | Recreating test.maccyber.io
dockerhub-webhook |
dockerhub-webhook | 170315/223551.366, (1489617324242:c1b4519c9fc3:7:j0bjiqtg:10000) [request,debug] data: Callback deactivated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment