Different optimations and bugs

This commit is contained in:
2025-07-07 12:52:37 +02:00
parent e2b0e7b492
commit a6d226769c
11 changed files with 95 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
name: pkgmgr-install
vars:
package_name: cymais-sphinx
package_notify: docker compose up
# package_notify: docker compose up
- name: Get path of cymais-sphinx using pkgmgr
command: pkgmgr path cymais-sphinx
@@ -20,4 +20,9 @@
name: nginx-domain-setup
vars:
domain: "{{ domains | get_domain(application_id) }}"
http_port: "{{ ports.localhost.http[application_id] }}"
http_port: "{{ ports.localhost.http[application_id] }}"
# Hack because it wasn't possible to fix an handler bug in pkgmgr install
- name: „Trigger“ docker compose up
command: /bin/true
notify: docker compose up

View File

@@ -1,6 +1,6 @@
{% include 'roles/docker-compose/templates/base.yml.j2' %}
application:
{% set container_port = 8008 %}
{% set container_port = 8000 %}
build:
context: {{ path_cymais_sphinx_output.stdout }}
dockerfile: {{ path_cymais_sphinx_output.stdout }}/Dockerfile