mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-05-04 17:39:50 +02:00
Compare commits
2 Commits
c6bba8c9a5
...
c5c5a5fafd
| Author | SHA1 | Date | |
|---|---|---|---|
| c5c5a5fafd | |||
| 654c244f82 |
@@ -261,14 +261,18 @@ def prompt_missing_args(args_in, defaults_in, fields, action=None,stacks=None):
|
||||
'api_server', 'authentik', 'bitwarden', 'bookstack', 'databasus', 'dockermon', 'duplicati', 'fail2ban', 'filebrowser', 'gitea', 'gitlab', 'grafana', 'grocy',
|
||||
'hashicorp', 'home-assistant', 'homebox','homepage', 'immich', 'influxdb', 'jupyter', 'kestra', 'kopia', 'linkding', 'linkwarden', 'mailu3',
|
||||
'mealie', 'mediacenter', 'mosquitto', 'motioneye', 'n8n', 'nebula', 'nextcloud', 'nginx',
|
||||
'node-red', 'octoprint', 'ollama', 'onlyoffice', 'paperless-ngx', 'pihole', 'portainer-ce', 'rancher', 'registry',
|
||||
'node-red', 'octoprint', 'ollama', 'onlyoffice', 'paperless-ngx', 'pihole', 'portainer-ce','portainerce', 'rancher', 'registry',
|
||||
'regsync', 'repo_mirror', 'searxng','semaphore', 'unifibrowser', 'uptime-kuma', 'watchtower', 'wazuh', 'webhub', 'wordpress',
|
||||
'wud', 'zabbix-server']
|
||||
try:
|
||||
print(por.all_data['stacks'][defaults_in[f"PORTAINER_ENDPOINT_ID".upper()]]['by_name'].keys())
|
||||
for s in por.all_data['stacks'][defaults_in[f"PORTAINER_ENDPOINT_ID".upper()]]['by_name'].keys():
|
||||
#print(s)
|
||||
commands.remove(s)
|
||||
print(s)
|
||||
try:
|
||||
commands.remove(s)
|
||||
except ValueError as e:
|
||||
print(e)
|
||||
|
||||
except KeyError:
|
||||
print("No stacks found for endpoint", defaults_in[f"PORTAINER_ENDPOINT_ID".upper()])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user