deploy-container

Deploy Docker containers with agenix secrets, Caddy reverse proxy, and DNS records.

8|1|Updated Oct 21, 2015
One-click install
npx skills add https://github.com/iamruinous/nix-config --skill deploy-container
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy-container
Source: https://github.com/iamruinous/nix-config/tree/main/.opencode/skills/deploy-container
Command: npx skills add https://github.com/iamruinous/nix-config --skill deploy-container

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual deployment of containerized services with secrets, reverse proxy configuration, and DNS entries is error-prone and time-consuming. This Skill automates end-to-end deployment, integrating secret management, web routing, and domain provisioning to reduce operational toil.

Core Features & Use Cases

  • Parameter-driven deployment for service name, host, image, and optional database needs
  • Secrets management integration (agenix) for encrypted environment files
  • Automated Caddy reverse proxy configuration and DNS record provisioning
  • End-to-end workflow including environment setup, container registration, and deployment verification

Quick Start

Provide the service name, host, and container image to begin deployment.

Frequently Asked Questions about deploy-container

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

FAQPage Schema
How do I automate Docker container deployment with Caddy reverse proxy and DNS configuration?

Automating Docker container deployment with Caddy and DNS involves parameter-driven infrastructure automation that handles environment-file encryption, Caddyfile updates, and DNS record provisioning end-to-end. This Skill requires agenix, cfcli, and nix to manage secrets and domain routing.

What is the best way to manage encrypted secrets when deploying containers across multiple hosts?

Managing encrypted secrets for container deployment across hosts uses agenix for environment-file encryption. This approach secures sensitive data during infrastructure automation, ensuring encrypted environment files are applied correctly to Docker containers during registration.

Do I need nix and agenix to deploy containers with automated Caddyfile updates?

Yes, deploying containers with automated Caddyfile updates requires nix and agenix. These dependencies handle infrastructure automation, environment-file encryption, and reverse proxy configuration, alongside cfcli for provisioning DNS records.

Can I deploy GPU-enabled workloads and PostgreSQL databases using automated container deployment?

Yes, automated container deployment supports GPU-enabled workloads and optional PostgreSQL database setup. Parameter-driven deployment allows specifying service name, host, image, and database needs to configure background tasks or web services accordingly.

What steps are involved in end-to-end container deployment with integrated DNS and secrets management?

End-to-end container deployment includes providing service name, host, and container image, followed by environment setup, secrets encryption via agenix, Caddyfile updates, DNS record provisioning with cfcli, container registration, and deployment verification.

Why does manual container deployment with reverse proxy configuration fail across different hosts?

Manual container deployment fails across hosts due to error-prone, time-consuming configuration of secrets, reverse proxy routing, and DNS entries. Automating these steps with parameter-driven infrastructure reduces operational toil and configuration drift.