Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Feb 3, 2025
1 parent 87f07f8 commit 9cdeaaf
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions ix-dev/community/invoice-ninja/templates/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,15 @@

{% do c1.add_port(values.network.web_port) %}

{% do c1.add_storage("/var/www/html/bootstrap/cache", {"type": "anonymous"}) %}
{% do worker.add_storage("/var/www/html/bootstrap/cache", {"type": "anonymous"}) %}
{% do scheduler.add_storage("/var/www/html/bootstrap/cache", {"type": "anonymous"}) %}

{% set tmp_config = {"type": "temporary", "volume_config": {"volume_name": "tmp-invoice-ninja"}} %}
{% do c1.add_storage("/var/www/html/app/storage", tmp_config) %}
{% do worker.add_storage("/var/www/html/app/storage", tmp_config) %}
{% do scheduler.add_storage("/var/www/html/app/storage", tmp_config) %}
{% do perm_container.add_or_skip_action("tmp-invoice-ninja", tmp_config, perms_config) %}
{% do c1.add_storage("/var/www/html/bootstrap/cache", tmp_config) %}
{% do worker.add_storage("/var/www/html/bootstrap/cache", tmp_config) %}
{% do scheduler.add_storage("/var/www/html/bootstrap/cache", tmp_config) %}

{% do c1.add_storage("/app/storage", values.storage.storage) %}
{% do worker.add_storage("/app/storage", values.storage.storage) %}
Expand Down

0 comments on commit 9cdeaaf

Please sign in to comment.