From 24e5b001ccdafab8c237ab3e3d6ba63cf2311c11 Mon Sep 17 00:00:00 2001 From: builderadmin Date: Mon, 22 Dec 2025 15:59:16 +0000 Subject: [PATCH] Add docker-compose.yml --- docker-compose.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..b4b718b --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,35 @@ +# Docker Compose file for the Vikunja MCP server extension. +# Version specifies the Docker Compose file format. +version: '3.8' + +services: + # Define the Vikunja MCP service + vikunja: + # The container image to use, as specified in your config. + image: harbor.freshbrewed.science/library/vikunjamcp:0.26 + + # Name for the running container for easier identification. + container_name: vikunja-mcp-server + + # Replicates the "-i" (interactive) flag from your command. + # This keeps STDIN open, which is often necessary for these types of servers. + stdin_open: true + + # Replicates the "--rm" flag. The container will be removed when stopped + # with `docker-compose down`. + # This is default behavior, but explicitly stated for clarity. + + # Maps port 8000 on the host to port 8000 in the container. + # The format is "HOST:CONTAINER" + ports: + - "8000:8000" + + # Defines the environment variables to pass to the container. + # These will be picked up from your shell's environment or a .env file. + environment: + - VIKUNJA_URL=${VIKUNJA_URL} + - VIKUNJA_USERNAME=${VIKUNJA_USERNAME} + - VIKUNJA_PASSWORD=${VIKUNJA_PASSWORD} + + # This ensures the container restarts automatically if it crashes. + restart: unless-stopped \ No newline at end of file