m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-15 00:23:48 -05:00

Merge branch 'main' into v3

This commit is contained in:
Sergio
2025-02-02 14:45:37 +02:00
2 changed files with 8 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# Docker Compose
Many users find it useful to run Cup with Docker Compose, as it enables them to have it constantly running in the background and easily control it. Cup's lightweight resource usae makes it ideal for this use case.
Many users find it useful to run Cup with Docker Compose, as it enables them to have it constantly running in the background and easily control it. Cup's lightweight resource use makes it ideal for this use case.
There have been requests for an official Docker Compose file, but I believe you should customize it to your needs.
@@ -35,4 +35,9 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
```
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!
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.
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"
```