need4swede / Portall

Port Management Interface
MIT License
383 stars 8 forks source link

SECRET_KEY doesn't seem to work #24

Closed Becase closed 3 months ago

Becase commented 3 months ago

hello,i use docker-compose to run portall,but the SECRET_KEY doesn't seem to work,What I mean is that I didn't use this SECRET_KEY, but was able to directly access the portall page, which caused me some trouble。

version: '3'

services:
  rediary:
    image: need4swede/portall:latest
    container_name: portall
    restart: unless-stopped
    ports:
      - 9174:8080
    volumes:
      - ./data:/app/instance
    environment:
      - PORT=8080
      - SECRET_KEY=3gAGC5jRZaJ
idleite commented 3 months ago

the secret key is not a password but a key used in flask, im not sure what exactly it is used for. But if you needed to secure this you could use forward auth with authentik or authelia.

Becase commented 3 months ago

thanks a lot