Giter Site home page Giter Site logo

ngxson / portainer-ce-without-annoying Goto Github PK

View Code? Open in Web Editor NEW
77.0 4.0 0.0 25 KB

A drop-in replacement for portainer/portainer-ce, without annoying UI elements or tracking script

Home Page: https://hub.docker.com/r/ngxson/portainer-ce-without-annoying

License: MIT License

Dockerfile 3.23% JavaScript 90.02% Shell 6.75%
docker docker-compose portainer

portainer-ce-without-annoying's Introduction

portainer-ce-without-annoying

This is a drop-in replacement for portainer/portainer-ce, without annoying UI elements.

portainer-ce-without-annoying is NOT a fork of portainer-ce. It is just an overlay script / proxy to inject styles / scripts, allow removing DOM elements.

Before After
image ==> image
image ==> image
image ==> image

Bonus: tracking script is also removed. See this issue

How to use

If you already have portainer-ce installation, just replace portainer/portainer-ce:latest with ngxson/portainer-ce-without-annoying:latest

For example, if you use the command from the official installation guide, the command will be:

docker volume create portainer_data
docker run -d \
  -p 8000:8000 -p 9443:9443 \
  --name portainer \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v portainer_data:/data \
  ngxson/portainer-ce-without-annoying:latest

Alternatively, you can use this docker-compose.yml

portainer-ce-without-annoying's People

Contributors

ngxson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

portainer-ce-without-annoying's Issues

Use github actions or other CI/CD pipeline for automatic updates and transparency.

First of all, love you for creating this project!

As far as I understand, you are using the build_and_push.sh script locally to update the docker image for this project on your docker hub, right?

I would like to suggest to setup a small CI/CD pipeline using github actions (or drone or similar) to automate this process.
Some reasons, that would be helpful:

  • Less work for you (duh) :)
  • Automatic updates every time portainer is updated. Even in times where you might not be immediately able to run the script.
  • Transparency for the build process. While I trust you and could check the image itself before pulling, having the log and output of the buildprocess available for all to see on github actions (or a public drone page) allows user to see at a glance that no security flaws have been introduced with the modified image, which I think is important for an integral backbone to ones digital infrastructure, like portainer is.
  • Automatic upversioning to preserve old tags and always updating the "latest" tag.
  • Automatic release on github releases (helps people who watch the repo to be notified of new versions to update).
  • Automatic release to both Github container repo and dockerhub, since the anti consumer behaviour of dockerhub, means, an alternative container repo could be more reliable.

Here is some ideas for the implementation (using Github actions):

  • Watch for new releases of the portainer-ce docker hub, or github repo to trigger new builds in this repo.
    • Potentially limit automatic updates to a "beta" tag instead of the "latest" tag, if you want more manual control.
  • Just copy the portainer-ce version number for ease of use and backwards compatibility.
  • Watch for pushes to this repos main branch using the "release" or similar github tag to trigger rebuilt and replacement of current image version to introduce new features (in case some more important stuff is added later).
  • Automatically replace the latest tag on the container repo with your newest build.
  • Push to both ghcr and docker hub.

If you need any help with that, I would love to point you in the right direction and/or make a small PR :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.