Skip to content

Add Docker Stack deployment template using ghcr.io image#4

Merged
physikerwelt merged 3 commits into
mainfrom
copilot/create-docker-stack-template
Feb 8, 2026
Merged

Add Docker Stack deployment template using ghcr.io image#4
physikerwelt merged 3 commits into
mainfrom
copilot/create-docker-stack-template

Conversation

Copilot AI commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

Adds docker-stack.yml for Docker Swarm deployments using the pre-built ghcr.io/gipplab/qlever-control:latest image.

Changes

  • docker-stack.yml: Swarm deployment template with:

    • Resource limits (2 CPU/2GB) and reservations (0.5 CPU/512MB)
    • Restart policy, update/rollback configurations
    • Named volume for workspace persistence
    • Security warnings about Docker socket mount and horizontal scaling limitations
  • README.md: Docker Stack usage section with deployment commands and container access patterns

Usage

docker swarm init
docker stack deploy -c docker-stack.yml qlever

# Access container
docker service ps qlever_qlever-control --filter desired-state=running
docker exec -it qlever_qlever-control.1.CONTAINER_ID bash

The template is production-ready but constrained to replicas: 1 due to Docker socket mount.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 8, 2026 14:31
Co-authored-by: physikerwelt <2777736+physikerwelt@users.noreply.github.com>
Co-authored-by: physikerwelt <2777736+physikerwelt@users.noreply.github.com>
Copilot AI changed the title [WIP] Add template for Docker stack deployment using latest image from ghcr Add Docker Stack deployment template using ghcr.io image Feb 8, 2026
Copilot AI requested a review from physikerwelt February 8, 2026 14:33
@physikerwelt physikerwelt marked this pull request as ready for review February 8, 2026 14:41
@physikerwelt physikerwelt merged commit 468214b into main Feb 8, 2026
1 check passed
@physikerwelt physikerwelt deleted the copilot/create-docker-stack-template branch February 8, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants