Go to file
Kendrick 0efeeaf185 feat(webhooks): add support for service update webhooks (#2161)
* Initial pass at adding webhook controller and routes

* Moving some objects around

* Cleaning up comments

* Fixing syntax, switching to using the docker sdk over building an http client

* Adding delete and list functionality

* Updating the handler to use the correct permissions. Updating some comments

* Fixing some comments

* Code cleanup per pull request comments

* Cleanup per PR feedback. Syntax error fix

* Initial creation of webhook app code

* Moving ClientFactory creation out of handler code and instead using the one created by the main process. Removing webhookInspect method and updating the list function to use json filters

* Delete now works on the webhook ID vs service ID

* WIP - Service creates a webhook. Display will show an existing webhook URL.

* Adding the webhook field to the service view. There is now the ability to add or remove a webhook from a service

* Moving all api calls to be webhooks vs webhook

* Code cleanup. Moving all api calls to be webhooks vs webhook

* More conversion of webhook to webhooks?

* Moving UI elements around. Starting function for copying to clipboard

* Finalizing function for copying to clipboard. Adding button that calls function and copies webhook to clipboard.

* Fixing UI issues. Hiding field entirely when there is no webhook

* Moving URL crafting to a helper method. The edit pane for service now creates/deletes webhooks immidiately.

* style(service-details): update webhook line

* feat(api): strip sha when updating an image via the update webhook

* Fixing up some copy. Only displying the port if it is not http or https

* Fixing tooltip copy. Setting the forceupdate to be true to require an update to occur

* Fixing code climate errors

* Adding WebhookType field and setting to ServiceWebhook for new webhooks. Renaming ServiceID to resourceID so future work can add new types of webhooks in other resource areas.

* Adding the webhook type to the payload to support more types of webhooks in the future. Setting the type correctly when creating one for a service

* feat(webhooks): changes related to webhook management

* API code cleanup, removing unneeded functions, and updating validation logic

* Incorrectly ignoring the error that the webhook did not exist

* Re-adding missing error handling. Changing error response to be a 404 vs 500 when token can't find an object

* fix(webhooks): close Docker client after service webhook execution
2018-09-03 12:08:03 +02:00
.github chore(project): update issue templates 2018-05-02 17:01:05 +02:00
api feat(webhooks): add support for service update webhooks (#2161) 2018-09-03 12:08:03 +02:00
app feat(webhooks): add support for service update webhooks (#2161) 2018-09-03 12:08:03 +02:00
assets feat(network-creation): enhance UX with macvlan driver for swarm mode (#2082) (#2122) 2018-08-16 12:29:15 +02:00
build refactor(build-system): update build_in_container.sh (#2230) 2018-09-01 10:09:24 +02:00
distribution chore(version): bump version number 2018-07-28 20:42:17 +02:00
test/unit fix(general): fix the size display using the filesize library (#246) 2016-10-01 21:38:20 +13:00
.codeclimate.yml chore(codeclimate): update .codeclimate.yml (#2212) 2018-08-24 10:40:05 +02:00
.dockerignore chore(codefresh): add codefresh.yml (#887) 2017-05-25 11:08:26 +02:00
.eslintrc.yml * chore(eslint): update esllint and remove unused variables 2018-08-22 17:33:06 +02:00
.gitignore chore(gitignore): add .vscode to .gitignore (#2130) 2018-08-06 15:32:27 +02:00
.godir refactor(global): rename uifd to portainer 2016-09-04 14:50:37 +12:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md (#946) 2017-06-22 05:11:40 +02:00
CONTRIBUTING.md chore(project): update CONTRIBUTING.md 2018-08-02 09:39:43 +02:00
LICENSE chore(license): update license info so that GitHub recognizes it (#1924) 2018-05-23 14:47:43 +02:00
README.md docs(README): update build badge 2018-08-15 21:02:01 +02:00
build.sh fix(build-system): fix invalid template copy step (#2089) 2018-07-28 16:12:24 +02:00
gruntfile.js * chore(eslint): update esllint and remove unused variables 2018-08-22 17:33:06 +02:00
index.html feat(auth): remove sanitization calls and ask for password update if needed (#2222) 2018-08-28 10:13:01 +02:00
package.json feat(build-system): add build-offline script (#2169) 2018-08-17 08:37:31 +02:00
templates.json feat(templates): add datadog agent templates 2018-08-13 14:06:54 +02:00
vendor.yml feat(volume-browser): add the ability to browse volume content (#2051) 2018-07-23 07:01:03 +02:00
yarn.lock chore(project): update lodash version to 4.17.10 (#2156) 2018-08-13 19:10:09 +02:00

README.md

Docker Pulls Microbadger Documentation Status Build Status Code Climate Slack Gitter Donate

Portainer is a lightweight management UI which allows you to easily manage your different Docker environments (Docker hosts or Swarm clusters).

Portainer is meant to be as simple to deploy as it is to use. It consists of a single container that can run on any Docker engine (can be deployed as Linux container or a Windows native container).

Portainer allows you to manage your Docker containers, images, volumes, networks and more ! It is compatible with the standalone Docker engine and with Docker Swarm mode.

Demo

You can try out the public demo instance: http://demo.portainer.io/ (login with the username admin and the password tryportainer).

Please note that the public demo cluster is reset every 15min.

Alternatively, you can deploy a copy of the demo stack inside a play-with-docker (PWD) playground:

Unlike the public demo, the playground sessions are deleted after 4 hours. Apart from that, all the settings are same, including default credentials.

Getting started

Getting help

Reporting bugs and contributing

  • Want to report a bug or request a feature? Please open an issue.
  • Want to help us build portainer? Follow our contribution guidelines to build it locally and make a pull request. We need all the help we can get!

Limitations

Portainer has full support for the following Docker versions:

  • Docker 1.10 to the latest version
  • Standalone Docker Swarm >= 1.2.3 (NOTE: Use of Standalone Docker Swarm is being discouraged since the introduction of built-in Swarm Mode in Docker. While older versions of Portainer had support for Standalone Docker Swarm, Portainer 1.17.0 and newer do not support it. However, the built-in Swarm Mode of Docker is fully supported.)

Partial support for the following Docker versions (some features may not be available):

  • Docker 1.9

Licensing

Portainer is licensed under the zlib license. See LICENSE for reference.

Portainer also contains the following code, which is licensed under the MIT license:

UI For Docker: Copyright (c) 2013-2016 Michael Crosby (crosbymichael.com), Kevan Ahlquist (kevanahlquist.com), Anthony Lapenna (portainer.io)

rdash-angular: Copyright (c) [2014] [Elliot Hesp]