Files
computer-playbook/roles/svc-prx-openresty/meta/volumes.yml
kevinveenbirkenbachandClaude Opus 4.8 88a64e469a fix(openresty): declare the proxy role permanently backup-free
The two named volumes carry no mounts and stay empty; every piece of proxy state (configs, certs, webroot) arrives through deploy-rendered read-only binds, so the volume-backup drill produced a payload-less generation and failed. Same pattern as the registry, unbound and redis roles: backup.disabled on the service, the container_backup consumer statically off, and the volumes.yml opt-out documenting the exemption.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-18 01:11:48 +02:00

91 lines
2.3 KiB
YAML

# nocheck: backup-service-flag proxy state is deploy-rendered (binds); the unmounted named volumes hold nothing and the consumer is permanently off
---
www:
type: volume
path: /var/www/
nginx:
type: volume
path: /etc/nginx/
# nocheck: meta-volume-file-bind-should-be-config nginx.conf is rewritten post-deploy; bind reflects the live file (openresty is manager-pinned)
nginx_conf:
type: bind
source: "{{ lookup('nginx', 'files.configuration') }}"
read_only: true
mounts:
- service: openresty
target: /usr/local/openresty/nginx/conf/nginx.conf
nginx_confd_alias:
type: bind
source: "{{ lookup('nginx', 'directories.configuration.base') }}"
read_only: true
mounts:
- service: openresty
target: /usr/local/openresty/nginx/conf/conf.d
nginx_conf_host_self:
type: bind
source: "{{ lookup('nginx', 'files.configuration') }}"
read_only: true
mounts:
- service: openresty
target: "{{ lookup('nginx', 'files.configuration') }}"
nginx_base_host_self:
type: bind
source: "{{ lookup('nginx', 'directories.configuration.base') }}"
read_only: true
mounts:
- service: openresty
target: "{{ lookup('nginx', 'directories.configuration.base') }}"
nginx_data_www:
type: bind
source: "{{ lookup('nginx', 'directories.data.www') }}"
read_only: true
mounts:
- service: openresty
target: "{{ lookup('nginx', 'directories.data.www') }}"
nginx_data_well_known:
type: bind
source: "{{ lookup('nginx', 'directories.data.well_known') }}"
read_only: true
mounts:
- service: openresty
target: "{{ lookup('nginx', 'directories.data.well_known') }}"
letsencrypt_webroot:
type: bind
source: "{{ LETSENCRYPT_WEBROOT_PATH }}"
read_only: true
mounts:
- service: openresty
target: "{{ LETSENCRYPT_WEBROOT_PATH }}"
letsencrypt_base:
type: bind
source: "{{ LETSENCRYPT_BASE_PATH }}"
read_only: true
mounts:
- service: openresty
target: "{{ LETSENCRYPT_BASE_PATH }}"
tls_selfsigned_base:
type: bind
source: "{{ TLS_SELFSIGNED_BASE_PATH }}"
read_only: true
mounts:
- service: openresty
target: "{{ TLS_SELFSIGNED_BASE_PATH }}"
docker_sock:
type: bind
source: /var/run/docker.sock
read_only: true
mounts:
- service: openresty
target: /var/run/docker.sock