Run compose from the root in part layout
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
{%- if 'scheduler' in backend_services %}{% set _ = app_services.append("scheduler") %}{% endif -%}
|
{%- if 'scheduler' in backend_services %}{% set _ = app_services.append("scheduler") %}{% endif -%}
|
||||||
{%- set has_script = dynamic_config and svc_modules -%}
|
{%- set has_script = dynamic_config and svc_modules -%}
|
||||||
{%- set has_scripts = dynamic_config or 'kurigram_userbot' in backend_services -%}
|
{%- set has_scripts = dynamic_config or 'kurigram_userbot' in backend_services -%}
|
||||||
COMPOSE := docker compose{% if layout == 'part' %} --project-directory ..{% endif %}
|
COMPOSE := {% if layout == 'part' %}cd .. && {% endif %}docker compose
|
||||||
{% if svc_modules %}IMAGE := {{ project_slug }}/backend
|
{% if svc_modules %}IMAGE := {{ project_slug }}/backend
|
||||||
IMAGE_INPUTS := pyproject.toml uv.lock Dockerfile
|
IMAGE_INPUTS := pyproject.toml uv.lock Dockerfile
|
||||||
CODE := src{% if has_scripts %} scripts{% endif %}
|
CODE := src{% if has_scripts %} scripts{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user