Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update portainer to version 2.21.1 #1479

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion portainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.7"

Check notice on line 1 in portainer/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Potentially using unsafe user in service "docker"

The default container user "root" can lead to security vulnerabilities. If you are using the root user, please try to specify a different user (e.g. "1000:1000") in the compose file or try to set the UID/PUID and GID/PGID environment variables to 1000.

Check notice on line 1 in portainer/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Potentially using unsafe user in service "portainer"

The default container user "root" can lead to security vulnerabilities. If you are using the root user, please try to specify a different user (e.g. "1000:1000") in the compose file or try to set the UID/PUID and GID/PGID environment variables to 1000.

services:
app_proxy:
Expand All @@ -9,7 +9,7 @@
docker:
image: docker:27.2.0-dind@sha256:f9f72ad901a78f27be922b2d320bbc263174f12919c1b37e6a01f828fa904565
privileged: true
network_mode: host

Check notice on line 12 in portainer/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Service "docker" uses host network mode

The host network mode can lead to security vulnerabilities. If possible please use the default bridge network mode and expose the necessary ports.
stop_grace_period: 1m
restart: on-failure
environment:
Expand All @@ -22,14 +22,14 @@
--exec-root /data/exec
--host unix:///data/docker.sock
--pidfile /data/docker.pid
volumes:

Check notice on line 25 in portainer/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Mounted file/directory "/portainer/data/docker" doesn't exist

The volume "${APP_DATA_DIR}/data/docker:/data" tries to mount the file/directory "/portainer/data/docker", but it is not present. This can lead to permission errors!
- ${APP_DATA_DIR}/entrypoint.sh:/entrypoint.sh
- ${APP_DATA_DIR}/data/docker:/data

portainer:
image: portainer/portainer-ce:2.21.0@sha256:a5e6d58c93bea2988b604f9c9b1afaa30dc213532dfd9beb7774429146276604
image: portainer/portainer-ce:2.21.1@sha256:2c7d2953c322de46d2749d371e892a5e0ad50339f542888798b2cdc81eb85eef
command: --host unix:///var/run/docker.sock --admin-password-file=/default-password
restart: on-failure
volumes:

Check notice on line 33 in portainer/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Mounted file/directory "/portainer/data/portainer" doesn't exist

The volume "${APP_DATA_DIR}/data/portainer:/data" tries to mount the file/directory "/portainer/data/portainer", but it is not present. This can lead to permission errors!

Check notice on line 33 in portainer/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Mounted file/directory "/portainer/data/docker" doesn't exist

The volume "${APP_DATA_DIR}/data/docker:/var/run" tries to mount the file/directory "/portainer/data/docker", but it is not present. This can lead to permission errors!
- ${APP_DATA_DIR}/default-password:/default-password
- ${APP_DATA_DIR}/data/portainer:/data
Expand Down
12 changes: 5 additions & 7 deletions portainer/umbrel-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ manifestVersion: 1
id: portainer
category: developer
name: Portainer
version: "2.21.0"
version: "2.21.1"
tagline: Run custom Docker containers on your Umbrel
description: >-
⚠️ Make sure to only use named Docker volumes for your stacks and containers. Data in bind-mounted volumes
Expand Down Expand Up @@ -51,13 +51,11 @@ path: ""
defaultUsername: "admin"
defaultPassword: "changeme"
releaseNotes: >-
This is the first Long-Term Support (LTS) release of Portainer, which includes all changes up to the 2.20.3 release, as well as improvements to stability and scalability.
This update includes improvements to stability and performance, as well as some bug fixes:


Key highlights:
- Improved overall stability
- Enhanced performance and reliability for larger environments
- Security updates to address critical and high vulnerabilities in dependencies
- Fixed an issue where Portainer would crash when cloning a large Git repository
- Introduced a mechanism to revoke authentication tokens after logout
- Resolved a problem when re-creating a container on Docker 24


Full release notes are found at https://github.com/portainer/portainer/releases.
Expand Down