From 6e6afdb757df7bcc9e2d4b8894369c3623ed499d Mon Sep 17 00:00:00 2001 From: Sergio <77530549+sergi0g@users.noreply.github.com> Date: Sun, 5 Jan 2025 13:46:42 +0200 Subject: [PATCH] Update docs (#55) --- .../docs/community-resources/docker-compose.mdx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/pages/docs/community-resources/docker-compose.mdx b/docs/pages/docs/community-resources/docker-compose.mdx index 03d2ca3..17fb10a 100644 --- a/docs/pages/docs/community-resources/docker-compose.mdx +++ b/docs/pages/docs/community-resources/docker-compose.mdx @@ -20,4 +20,19 @@ services: - ./cup.json:/config/cup.json ``` +If you don't have a config, you can use this instead: + +```yaml +services: + cup: + image: ghcr.io/sergi0g/cup:latest + container_name: cup # Optional + restart: unless-stopped + command: serve + ports: + - 8000:8000 + volumes: + - /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!