Giter Club home page Giter Club logo

portainer-tools's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

portainer-tools's Issues

New Feature

Please. Can you port de container for arm plataform? Thank you!

Could not set the Portainer App Templates URL. Check your Portainer settings (URL/USERNAME/PASSWORD).

Portainer is set to use port 9443 (SSL) per their instructions. New install tonight and it is not working. This is with Portainer 2.14. The error I am getting when I tried to set a template is as follows:

today at 11:12:48 PM192.168.1.160 - - [15/Aug/2022 06:12:48] "GET /socket.io/?EIO=4&transport=polling&t=OAW8YKo&sid=tZFyEpT4yHD1IN3XAAAC HTTP/1.1" 200 -
today at 11:12:53 PM192.168.1.160 - - [15/Aug/2022 06:12:53] "POST /apptemplate/2/set HTTP/1.1" 302 -
today at 11:12:53 PM192.168.1.160 - - [15/Aug/2022 06:12:53] "GET / HTTP/1.1" 200 -
today at 11:12:53 PM192.168.1.160 - - [15/Aug/2022 06:12:53] "GET /socket.io/?EIO=4&transport=polling&t=OAW8ZZK HTTP/1.1" 200 -
today at 11:12:53 PM192.168.1.160 - - [15/Aug/2022 06:12:53] "POST /socket.io/?EIO=4&transport=polling&t=OAW8Za5&sid=8B3DzFJbEP3ySKWtAAAE HTTP/1.1" 200 -
today at 11:12:53 PM192.168.1.160 - - [15/Aug/2022 06:12:53] "GET /socket.io/?EIO=4&transport=polling&t=OAW8Za7&sid=8B3DzFJbEP3ySKWtAAAE HTTP/1.1" 200

My Docker compose:

version: '3.3'
services:
portainer-tools:
container_name: portainer-tools
environment:
- PUID=
- PGID=
- SERVER_URL=https://192.168.1.161
- PORTAINER_URL=https://192.168.1.161:9443
- PORTAINER_USERNAME=admin
- PORTAINER_PASSWORD=MyPasswordhere
ports:
- 7256:9999
volumes:
- /mnt/4TB/portainertools:/config
restart: unless-stopped
image: technorabilia/portainer-tools

I have tried with the non https port of 8000 and get the same result (Setting the environment to http://192.168.1.161:8000).

I am open to ideas or suggestions on this, as of now with the 302 redirect, I am stumped.

(edited to make it easier to follow the error log and compose file)

Merged List not created / wish to set port not automatically

Hello,

Just installed your nice tool and unfortunately I get no new merged list created, even when waiting few minutes nothing happens.

Then I use Nginx-Proxy-Manager with a sub-domain to access my Portainer with https and without port. For this Scenario it would be better to not automatically use port 9000 when no port is given in compose or run command.

And for security reasons, I would like to have the page protected with a User and Password.

Are there any log files or anything else I can provide to you?

Thanks in advance,
Lars

merge fail with uploaded template (file)

hello, I came across an error concerning the merge of local templates

step to reproduce
1 start a new docker with clean configuration

# https://www.technorabilia.com/portainer-tools-merge-and-host-app-template-definitions/
version: '3.3'
services:
    portainer-tools:
        container_name: portainer-tools
        environment:
            #- PUID=<puid>
            #- PGID=<pgid>
            - SERVER_URL=localhost
            - PORTAINER_URL=localhost
            #- PORTAINER_USERNAME=<portainer username>
            #- PORTAINER_PASSWORD=<portainer password>
        ports:
            - 9999:9999
        volumes:
            - config:/config
        restart: unless-stopped
        image: technorabilia/portainer-tools
volumes:
  config:

2 Upload app template definition file (in this case a.json)
3 select 2 templates and merge
error message was printed
Error in templates/a.json: Invalid URL 'templates/a.json': No schema supplied. Perhaps you meant http://templates/a.json?

it will probably be necessary to add a condition to check if the template is local
app/tools/apptemplates/utils.py

    for template in templates:
        template_url = template["url"]
        try:
            response = requests.get(template_url)
            template = json.loads(response.text)

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.