1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 20:35:25 +02:00

fix(extension): extend JWT auth token expiration for extension EE-3065 (#6881)

The default expiration time of 8 hours does not make sense in the
context of the docker desktop extension. This adds a new feature flag
which can be enabled with `export DOCKER_EXTENSION=1` and when 
present will set the expiration time to 99 years.

I've set this flag in the docker-compose.yml we use when building our
docker extension.
This commit is contained in:
Dakota Walsh 2022-05-06 09:52:47 +12:00 committed by GitHub
parent c732ca2d2f
commit 3de585fe17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -5,6 +5,8 @@ services:
image: ${DESKTOP_PLUGIN_IMAGE}
command: ['--admin-password', '$$$$2y$$$$05$$$$bsb.XmF.r2DU6/9oVUaDxu3.Lxhmg1R8M0NMLK6JJKUiqUcaNjvdu']
restart: unless-stopped
environment:
- DOCKER_EXTENSION=1
security_opt:
- no-new-privileges:true
volumes: