Ran into this issue as well, used conditionals which Baris broke when everything switched over to loggedIn rather than isLoggedIn.
Ah well, it's nice having every conditional the same anyways!
Hi, I recently tried to run nodebb in docker, but I didn't find a suitable sample docker-compose file to define nodebb docker user non root. I tried to use PGID/PUID or user in docker-compose file, but it is not work. when I tried to use PGID/PUID in environment, the node still run as root. when I tried to use user, the node runs as user, but report error "error: Error: EACCES: permission denied, open '/usr/src/app/public/installer.css"
So is there anybody could give me some advice for it, thanks!
docker-compose.yaml
nodebb:
image: nodebb/docker
container_name: nodebb
depends_on:
- mongodb
volumes:
- appdata/nodebb/data:/data
#environment:
#- PGID=1001
#- PUID=1001
#- user=docker1
user: "1001"
ports:
- "4567:4567"
restart: unless-stopped
networks:
- app-nodebb