nextcloud-spreed-signaling/docker/server
Leo bb996a7571
dockerfile: create system user (uid <= 999) instead of normal user (uid >= 1000), avoid home directory
currently the signaling server is run as uid=1000, which may be the occupied by
the first non-root normal user on most unix setups, despite not causing permission
or privilege issues, (uid is just an icon in docker, privileges are determined by linux
CAPs) a user whose uid=1000 could terminate the process of signaling server running in docker

this patch ensures that user `spreedbackend` in the container has a uid <= 999 by specifying
`adduser -S` to address the issue mentioned above

this patch also prevent creating of home directory, which is not necessary,
for user `spreedbackend` with `adduser -H`

Signed-off-by: Leo <i@hardrain980.com>
2025-08-21 19:12:19 +08:00
..
Dockerfile dockerfile: create system user (uid <= 999) instead of normal user (uid >= 1000), avoid home directory 2025-08-21 19:12:19 +08:00
entrypoint.sh Update default configuration and Docker scripts for backend urls. 2025-07-17 14:36:32 +02:00
stop.sh docker: Add helper scripts to gracefully stop / wait for server. 2024-04-30 11:57:58 +02:00
wait.sh docker: Add helper scripts to gracefully stop / wait for server. 2024-04-30 11:57:58 +02:00