Files
computer-playbook/roles/svc-prx-openresty
Kevin Veen-Birkenbach 71ceb339fc Fix Confluence & BookWyrm setup:
- Add docker compose build trigger in docker-compose tasks
- Cleanup svc-prx-openresty vars
- Enable unsafe-inline CSP flags for BookWyrm, Confluence, Jira to allow Atlassian inline scripts
- Generalize CONFLUENCE_HOME usage in vars, env and docker-compose
- Ensure confluence-init.properties written with correct home
- Add JVM_SUPPORT_RECOMMENDED_ARGS to pass atlassian.home
- Update README to reference {{ CONFLUENCE_HOME }}

See: https://chatgpt.com/share/68b7582a-aeb8-800f-a14f-e98c5b4e6c70
2025-09-02 22:49:02 +02:00
..
2025-09-02 22:49:02 +02:00

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 Lets Encrypt directories
  • Validates the OpenResty (Nginx) configuration before any restart
  • Restarts the container only if the configuration is valid

Overview

  1. Loads the base Docker Compose setup
  2. Adds the OpenResty service
  3. Defines handlers to validate and restart the container
  4. Triggers a restart on configuration changes

Further Reading