135 lines
5.4 KiB
YAML
135 lines
5.4 KiB
YAML
project: akyldash
|
|
environment: production
|
|
ssh:
|
|
alias: akyldash_vps
|
|
host: 206.223.249.118
|
|
port: 22
|
|
user: codex
|
|
identity_file: ~/.ssh/akyldash_codex
|
|
domain: akyldash.kg
|
|
facts:
|
|
hostname: avprogs.hlab.kz
|
|
os: Ubuntu Server 24.04.5 LTS
|
|
kernel: 6.8.0-142-generic
|
|
cpu_vcpus: 4
|
|
memory_gib: 7.7
|
|
swap_gib: 3.8
|
|
disk_gib: 99
|
|
disk_free_gib: 92
|
|
network_interface: ens3
|
|
ipv4: 206.223.249.118/32
|
|
domain_resolution: akyldash.kg resolves to Cloudflare IPv4 and IPv6 edge addresses
|
|
domain_http_status: Cloudflare 521 on HTTP and HTTPS from the VPS
|
|
user_groups: [codex, users]
|
|
sudo_noninteractive: false
|
|
installed:
|
|
- OpenSSH server
|
|
- systemd-resolved
|
|
- unattended-upgrades
|
|
- Docker CE and CLI 29.9.0
|
|
- Docker Compose plugin 5.6.0
|
|
- containerd 2.4.1
|
|
- runc 1.5.2
|
|
- Git
|
|
absent:
|
|
- ISPmanager package/service (unprivileged package and unit checks)
|
|
- root-owned application checkout
|
|
- restricted verifier and rollback helper
|
|
- non-loopback listeners on TCP 80, 443, 1500
|
|
access_audit_date: 2026-10-12
|
|
docker_service_active: true
|
|
docker_api_accessible_to_codex: false
|
|
docker_daemon_log_config:
|
|
driver: local
|
|
max_size: 10m
|
|
max_file: 3
|
|
bootstrap_paths:
|
|
/opt/akyldash: root:root 0755
|
|
/etc/akyldash: root:root 0700
|
|
/var/lib/akyldash/data: root:root 0750
|
|
/var/backups/akyldash: root:root 0700
|
|
unprivileged_nonloopback_tcp_listeners: [22]
|
|
owner_reported_ufw_allowed_tcp: [22, 80, 443, 1500]
|
|
port_1500_listener: false
|
|
rootless_docker_command_present: /usr/bin/dockerd-rootless.sh
|
|
runner_gitea_host_resolution: git.vakanaut.ru resolves to 195.209.48.28
|
|
runner_gitea_https_probe: /api/v1/version returned Gitea 1.25.5 (Actions protocol unverified)
|
|
cloudflare_edge_status:
|
|
http: 521
|
|
https: 521
|
|
target:
|
|
compose_file_in_repository: deploy/production/compose.yaml
|
|
compose_file_on_host: /opt/akyldash/current/deploy/production/compose.yaml
|
|
production_env_file: /etc/akyldash/production.env
|
|
secrets_directory: /etc/akyldash
|
|
data_directory: /var/lib/akyldash/data
|
|
backup_directory: /var/backups/akyldash
|
|
services:
|
|
caddy:
|
|
container: compose project service caddy
|
|
image: caddy:2.11.6-alpine pinned by digest in deploy/production/compose.yaml
|
|
host_ports: [80, 443]
|
|
persistent_data: named Compose volumes caddy-data and caddy-config
|
|
backend:
|
|
container: compose project service backend
|
|
image: built from deploy/production/Dockerfile.backend; digest deployment not configured
|
|
port: 8080 on private proxy and search Compose networks only
|
|
healthcheck: HTTP GET /review on container port 8080
|
|
persistent_data: /var/lib/akyldash/data (bind mount)
|
|
opensearch:
|
|
container: compose project service opensearch
|
|
image: opensearchproject/opensearch:3.7.0 plus analysis-icu plugin
|
|
port: 9200 on private Compose network only
|
|
persistent_data: named Compose volume opensearch-data
|
|
reverse_proxy:
|
|
target: Caddy in Compose; Caddyfile proxies akyldash.kg to backend:8080
|
|
status: no listener observed on 80/443; container state needs root Docker audit
|
|
external_ports_target: [22, 80, 443]
|
|
compose_networks:
|
|
proxy: caddy and backend
|
|
search: backend and OpenSearch; internal network
|
|
secrets:
|
|
- REVIEW_SECRET (host file mounted as /run/secrets/review_secret)
|
|
- Gitea credentials from environment-backed gitea-api helper
|
|
- SSH key at ~/.ssh/akyldash_codex
|
|
restricted_helper:
|
|
path: /usr/local/sbin/akyldash-rollback
|
|
status: repository code and owner-run installer exist; not installed on VPS
|
|
compose_read_only_helper:
|
|
path: /usr/local/sbin/akyldash-compose
|
|
allowed_operations: [config, status]
|
|
status: repository code and owner-run installer exist; not installed on VPS
|
|
read_only_verifier:
|
|
path: /usr/local/sbin/akyldash-verify
|
|
status: repository code and owner-run installer exist; not installed on VPS
|
|
gitea_actions_runner:
|
|
repository: admin/akyldash
|
|
registration_scope: repository
|
|
implementation: official act_runner 0.2.13; pinned binary SHA-256 in infra/runner/install-runner.sh
|
|
label: akyldash-ci
|
|
capacity: 1
|
|
job_limits: {cpu: 2, memory_gib: 3, pids: 512}
|
|
account_slice_limits: {cpu: 2.5, memory_gib: 4, tasks: 2048}
|
|
docker_store_limit_gib: 15
|
|
docker_boundary: rootless dedicated daemon; no production socket; job socket injection disabled
|
|
service_status: configuration prepared, not installed or registered; Online unverified
|
|
owner_action: run the root installer from the reviewed checkout; register through repository runner settings
|
|
checks:
|
|
- infra/bootstrap/verify.sh akyldash_vps
|
|
- docker compose -f deploy/production/compose.yaml ps
|
|
- curl -fsS https://akyldash.kg/review
|
|
- python3 infra/backup/archive.py verify /var/backups/akyldash/<archive>.tar.gz
|
|
backup_path: /var/backups/akyldash (directory exists; archive script in infra/backup/archive.py is not installed or run)
|
|
deployed_backend_image_record: /opt/akyldash/deployed-image.txt (required by drift verifier; not present before first deployment)
|
|
versions:
|
|
application:
|
|
backend: 0.11.3
|
|
frontend: 0.1.2
|
|
telegram_bot: 0.2.2
|
|
infrastructure: unknown; no production install or release exists
|
|
caddy_image: 2.11.6-alpine pinned by manifest digest in Compose
|
|
docker_engine: 29.9.0 (daemon active; server API unverified as codex)
|
|
docker_compose: 5.6.0
|
|
containerd: 2.4.1
|
|
runc: 1.5.2
|