Added health check and restart policy to openresty

This commit is contained in:
2025-08-15 17:59:09 +02:00
parent 3587531bda
commit 6c966bce2e
6 changed files with 14 additions and 7 deletions

View File

@@ -13,10 +13,10 @@
dest: "{{ NGINX.DIRECTORIES.HTTP.SERVERS }}{{ domain }}.conf"
notify: restart openresty
- name: "create {{docker_compose.files.env}}"
- name: "create {{ docker_compose.files.env }}"
template:
src: "database.j2"
dest: "{{docker_compose.files.env}}"
dest: "{{ docker_compose.files.env }}"
mode: "0770"
force: yes
notify: docker compose up