Add explicit container user to docker-compose.yml #24

Merged
wandabastyle merged 1 commit from codex/add-user-1000-1000-to-docker-compose into docker 2026-04-29 20:34:18 +02:00
wandabastyle commented 2026-04-29 20:33:05 +02:00 (Migrated from github.com)

Motivation

  • Ensure the twitch-relay container runs as UID/GID 1000 instead of root when deployed via Docker Compose.

Description

  • Add user: "1000:1000" to the twitch-relay service in docker-compose.yml to enforce the UID/GID mapping.

Testing

  • Attempted to validate the compose file with docker compose config >/tmp/compose.out but it failed because docker is not available in the execution environment.

Codex Task

### Motivation - Ensure the `twitch-relay` container runs as UID/GID 1000 instead of root when deployed via Docker Compose. ### Description - Add `user: "1000:1000"` to the `twitch-relay` service in `docker-compose.yml` to enforce the UID/GID mapping. ### Testing - Attempted to validate the compose file with `docker compose config >/tmp/compose.out` but it failed because `docker` is not available in the execution environment. ------ [Codex Task](https://chatgpt.com/codex/cloud/tasks/task_e_69f24dc202dc832893a6d9bc48f0d896)
Sign in to join this conversation.
No description provided.