Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

arpol

ArPol professional CLI toolkit — command-line tools for day-to-day DevOps and Odoo management.

Installation

git clone git@github.com:arpol-dev/arpol.git ~/Dev/Tools
chmod +x ~/Dev/Tools/arpol
mkdir -p ~/.local/bin
ln -sf ~/Dev/Tools/arpol ~/.local/bin/arpol

Make sure ~/.local/bin is in your PATH (it is by default on Ubuntu/Debian). If not, add to ~/.bashrc:

export PATH="$HOME/.local/bin:$PATH"

Commands

arpol odoo

Inspect and manage Odoo services running in Docker on remote servers.

arpol odoo describe <ssh-host>

Connects to a remote server via SSH and produces a complete architecture report of an Odoo installation:

  • Server: OS, kernel, CPU, RAM, disk usage
  • Docker Engine and Compose version
  • Odoo container: image + tag, ports, volumes, environment variables, resource limits, restart policy
  • Docker Compose project file content
  • Odoo configuration (odoo.conf read from inside the container)
  • Addon git repositories: remote URL, branch, commit, tag, and local modifications
  • PostgreSQL container image, version, and data volumes
  • Reverse proxy (Nginx / Traefik): virtual host config or routing labels
  • SSL certificates: Let's Encrypt / Traefik ACME, with expiry dates
  • Replication checklist: summary of what is needed to reproduce the installation

Usage:

# Basic — targets the container named "odoo"
arpol odoo describe my-server

# Custom service/container name
arpol odoo describe my-server --service odoo16

# Save report to file (ANSI codes stripped)
arpol odoo describe prod --output arch-prod.txt

The <ssh-host> argument must be reachable via your ~/.ssh/config (key-based auth, no password prompt).

Requirements

  • bash 4+
  • ssh with key-based access configured in ~/.ssh/config
  • Remote server: docker accessible (either direct or via sudo -n)

About

ArPol professional CLI toolkit — DevOps and Odoo management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages