Svc-prx-openresty Role¶
Description: No description available
Variables¶
author: Kevin Veen‑Birkenbach
description: Role to provision an OpenResty container via Docker Compose.
license: Infinito.Nexus NonCommercial License
license_url: https://s.infinito.nexus/license
company: Kevin Veen‑Birkenbach
Consulting & Coaching Solutions https://www.veen.world
galaxy_tags: [‘openresty’, ‘nginx’, ‘docker’, ‘reverse_proxy’]
repository: https://s.infinito.nexus/code
issue_tracker_url: https://s.infinito.nexus/issues
documentation: https://s.infinito.nexus/code/tree/main/roles/svc-prx-openresty
min_ansible_version: 2.9
README¶
OpenResty¶
This role deploys an OpenResty container via Docker Compose, validates its configuration, and restarts it on changes.
Description¶
Runs an OpenResty container in host network mode
Mounts Nginx configuration and Let’s Encrypt directories
Validates the OpenResty (Nginx) configuration before any restart
Restarts the container only if the configuration is valid
Overview¶
Loads the base Docker Compose setup
Adds the OpenResty service
Defines handlers to validate and restart the container
Triggers a restart on configuration changes