m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-08 05:03:49 -05:00

Add note about non-root with docker compose to docs (#56)
Some checks failed
Deploy github pages / build (push) Has been cancelled
Deploy github pages / deploy (push) Has been cancelled

This commit is contained in:
Kamil Essekkat
2025-01-10 15:05:58 +01:00
committed by GitHub
parent d26f57758a
commit b12acba745

View File

@@ -20,4 +20,9 @@ services:
- ./cup.json:/config/cup.json
```
Cup can run with a non-root user, but needs to be in a docker group. Assuming user id of 1000 and `docker` group id of 999 you can add this to the docker compose:
```yaml
user: "1000:999"
```
This can be customized further of course, if you choose to use a different port, another config location, or would like to change something else. Have fun!