deploy-remote

Deploy and manage Docker stacks on a LAN server via SSH-backed Docker context and local registry.

2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Gamaroff/agent-skills --skill deploy-remote-gamaroff
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: deploy-remote
Source: https://github.com/Gamaroff/agent-skills/tree/main/skills/deploy-remote
Command: npx skills add https://github.com/Gamaroff/agent-skills --skill deploy-remote-gamaroff

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It removes the friction of manually coordinating SSH, Docker contexts, and a private registry when deploying containerized stacks to a LAN server, so builds happen on your laptop while the server runs the workloads. ## Core Features & Use Cases - Full Deploy Pipeline: Build images locally, push them to a LAN registry, and start the stack on the remote server with a single script invocation. - Targeted Operations: Run build-only, push-only, restart, logs, teardown, migrations, and status diagnostics against remote stacks. - Use Case: After editing backend code locally, run the deploy script for the dev environment, then tail the API container logs over SSH to verify the change is live on the LAN server. ## Quick Start Ask the agent to deploy the dev stack to the LAN server and then tail the API service logs to confirm it started.

Frequently Asked Questions about deploy-remote

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Docker stack to a remote server over SSH?▼

Use a Docker context backed by SSH so local docker compose commands target the remote daemon. Build images locally, push them to a LAN registry, then run compose pull and up through the remote context to start the stack.

How do I push Docker images to a private registry without TLS?▼

Add the registry host and port to the insecure-registries array in ~/.docker/daemon.json, then restart Docker Desktop or the docker service. This is acceptable only on a private LAN where the registry has no TLS.

Can I run Prisma migrations against a remote database?▼

Yes, either exec into the remote container via the Docker context and run npx prisma migrate deploy, or run it locally with DATABASE_URL pointed at the remote database host and port.

Why does docker push fail with access denied to a local registry?▼

The local Docker daemon is missing the insecure-registries configuration for the registry host. Add the host:port entry to ~/.docker/daemon.json and restart Docker, then retry the push.

When should I not use a LAN Docker server for deployments?▼

Avoid it for production workloads managed by platforms like Railway, for mobile app distribution such as Android builds, and for general sysadmin tasks like apt, ufw, or systemd management, which belong to separate tooling.