User Tools

Site Tools


infrastructure:automation-stack

This is an old revision of the document!


Automation Stack

Deployed: 2026-02-06

Services

Service Container IP Port URL
PostgreSQL CT 110 10.100.161.110 5432 -
n8n CT 111 10.100.161.111 5678 https://n8n.srv.internal
Vaultwarden CT 112 10.100.161.112 8080 https://vault.srv.internal
DokuWiki CT 113 10.100.161.113 80 https://wiki.srv.internal
Uptime Kuma CT 114 10.100.161.114 3001 https://status.srv.internal

Architecture

                    ┌─────────────┐
                    │   Traefik   │
                    │ .161.102:443│
                    └──────┬──────┘
                           │
        ┌──────────┬───────┼───────┬──────────┐
        ▼          ▼       ▼       ▼          ▼
   ┌─────────┐ ┌───────┐ ┌─────┐ ┌──────┐ ┌───────┐
   │   n8n   │ │ Vault │ │Wiki │ │Status│ │  DB   │
   │  :5678  │ │ :8080 │ │ :80 │ │:3001 │ │ :5432 │
   └────┬────┘ └───┬───┘ └─────┘ └──────┘ └───┬───┘
        │          │                          │
        └──────────┴──────────────────────────┘
                    PostgreSQL
  • Database: PostgreSQL 15 (shared for n8n + Vaultwarden)
  • Reverse Proxy: Traefik (CT 102, 10.100.161.102)
  • DNS: UniFi (*.srv.internal → Traefik)
  • TLS: Lets Encrypt via Traefik

Credentials

All credentials stored in Vaultwarden under “Automation Stack” folder.

Database

PostgreSQL

  • Host: 10.100.161.110:5432
  • Admin: pgadmin (superuser)
  • App Users: n8n, vaultwarden
# Connect as admin
psql -h 10.100.161.110 -U pgadmin -d postgres
 
# List databases
\l
 
# Connect to specific DB
psql -h 10.100.161.110 -U pgadmin -d n8n

Service Management

# n8n
pct exec 111 -- systemctl status n8n
pct exec 111 -- journalctl -u n8n -f
 
# Vaultwarden
pct exec 112 -- systemctl status vaultwarden
pct exec 112 -- journalctl -u vaultwarden -f
 
# DokuWiki (nginx + php-fpm)
pct exec 113 -- systemctl status nginx
pct exec 113 -- systemctl status php8.2-fpm
 
# Uptime Kuma
pct exec 114 -- systemctl status uptime-kuma
 
# PostgreSQL
pct exec 110 -- systemctl status postgresql
pct exec 110 -- su - postgres -c "psql -l"

Configuration Files

Service Config Location
n8n /etc/systemd/system/n8n.service
Vaultwarden /etc/systemd/system/vaultwarden.service
DokuWiki /var/www/dokuwiki/conf/
Uptime Kuma /opt/uptime-kuma/
PostgreSQL /etc/postgresql/15/main/
Traefik /etc/traefik/conf.d/automation.yml

Backup

TODO: Configure Proxmox backup jobs

Recommended:

  • Daily: CT 110 (PostgreSQL) — critical data
  • Weekly: CT 111-114 — can be rebuilt
infrastructure/automation-stack.1770390381.txt.gz · Last modified: by 127.0.0.1