# 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