Page MenuHomeDevCentral
Paste P214

docker.json
ActivePublic

Authored by dereckson on Aug 17 2016, 00:45.
Tags
None
Referenced Files
F49189: docker.json
Aug 17 2016, 00:45
Subscribers
None
{
"service": "DockerHub",
"project": "Acme",
"group": "docker",
"rawContent": {
"push_data": {
"pushed_at": 1471373693,
"images": [],
"tag": "latest",
"pusher": "nasqueron"
},
"callback_url": "https://registry.hub.docker.com/u/nasqueron/aphlict/hook/2dhihe0hcbhij4i4iff4h4gffb3i3e0da/",
"repository": {
"status": "Active",
"description": "",
"is_trusted": true,
"full_description": "Aphlict server for Phabricator\n==============================\n\nOne Aphlict server could serve one or several instances of Phabricator.\n\nRun directly on HTTP\n--------------------\n\n1. Pull the image: `docker pull nasqueron/aphlict`\n2. Run the container: `docker run -dt -p 22280:22280 -p 22281:22281 nasqueron/aphlict`\n3. Configure your Phabricator instance at http://phabricator.domain.tld/config/edit/notification.servers\n\nWhen you configure your instance, use the following template:\n\n```lang=json\n[\n {\n \"type\": \"client\",\n \"host\": \"aphlict.yourdomain.tld\",\n \"port\": 22280,\n \"protocol\": \"http\"\n },\n {\n \"type\": \"admin\",\n \"host\": \"aphlict.yourdomain.tld\",\n \"port\": 22281,\n \"protocol\": \"http\"\n }\n]\n```\n\nTLS termination\n---------------\n\nAdd a certificate to your container, replace the protocol\nhttp by https in Phabricator config.\n\nEdit /opt/phabricator/conf/aphlict/aphlict.custom.json in your\ncontainer, so ssl.key & ssl.cert certificates have the relevant paths.\n\nNote\n----\n\nYou can get the server log using `docker logs <your container name>`.\n\nTo check the status of the server,\nuse http://phabricator.domain.tld/config/cluster/notifications/\n",
"repo_url": "https://hub.docker.com/r/nasqueron/aphlict",
"owner": "nasqueron",
"is_official": false,
"is_private": false,
"name": "aphlict",
"namespace": "nasqueron",
"star_count": 0,
"comment_count": 0,
"date_created": 1436477799,
"dockerfile": "#\n# Nasqueron - Phabricator image\n#\n\nFROM node\nMAINTAINER Sébastien Santoro aka Dereckson <dereckson+nasqueron-docker@espace-win.org>\n\nRUN cd /opt && \\\n git clone https://github.com/phacility/libphutil.git && \\\n git clone https://github.com/phacility/phabricator.git && \\\n cd phabricator/support/aphlict/server/ && \\\n npm install ws && \\\n groupadd -r app -g 433 && \\\n mkdir /home/app && \\\n useradd -u 431 -r -g app -d /home/app -s /sbin/nologin -c \"Docker image user for server\" app && \\\n touch /var/run/aphlict.pid /var/log/aphlict.log && \\\n chown app:app /home/app /var/run/aphlict.pid /var/log/aphlict.log\n\nCOPY aphlict.custom.json /opt/phabricator/conf/aphlict/\n\nEXPOSE 22280 22281\n\nWORKDIR /opt/phabricator/support/aphlict/server\nUSER app\nCMD [ \"node\", \"--max-old-space-size=256\", \"--\", \"aphlict_server.js\", \"--config=/opt/phabricator/conf/aphlict/aphlict.custom.json\" ]\n",
"repo_name": "nasqueron/aphlict"
}
},
"type": "push",
"text": "New image pushed to Docker Hub registry for nasqueron/aphlict by nasqueron",
"link": "https://hub.docker.com/r/nasqueron/aphlict"
}