diff --git a/docker-compose-build.yml b/docker-compose-build.yml index efc6b204b1..5fb7e4209c 100644 --- a/docker-compose-build.yml +++ b/docker-compose-build.yml @@ -12,6 +12,23 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + build: + context: ./backend + dockerfile: Dockerfile + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/docker-compose-pg.yml b/docker-compose-pg.yml index be5fc52e0d..dba7835fb0 100644 --- a/docker-compose-pg.yml +++ b/docker-compose-pg.yml @@ -16,6 +16,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index f71579b92f..5bf39fe4d4 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -11,6 +11,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/docker-compose-remote-api.yml b/docker-compose-remote-api.yml index c61695b752..19c40840f0 100644 --- a/docker-compose-remote-api.yml +++ b/docker-compose-remote-api.yml @@ -11,6 +11,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/docker-compose-remote.yml b/docker-compose-remote.yml index cec4d86b13..4366180d2f 100644 --- a/docker-compose-remote.yml +++ b/docker-compose-remote.yml @@ -11,6 +11,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/docker-compose-traefik.yml b/docker-compose-traefik.yml index 58b6b226db..e13f36a8d1 100644 --- a/docker-compose-traefik.yml +++ b/docker-compose-traefik.yml @@ -22,6 +22,21 @@ services: networks: - front + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend restart: unless-stopped diff --git a/docker-compose.yml b/docker-compose.yml index d723deee3c..2776068642 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/enterprise/docker-compose-build.yml b/enterprise/docker-compose-build.yml index 56c2d9cb9f..6b7a86de4c 100644 --- a/enterprise/docker-compose-build.yml +++ b/enterprise/docker-compose-build.yml @@ -13,6 +13,23 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + build: + context: ./backend + dockerfile: Dockerfile + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/enterprise/docker-compose-pg.yml b/enterprise/docker-compose-pg.yml index 0d483ef15a..da9cd8f66a 100644 --- a/enterprise/docker-compose-pg.yml +++ b/enterprise/docker-compose-pg.yml @@ -16,6 +16,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/enterprise/docker-compose-remote-api.yml b/enterprise/docker-compose-remote-api.yml index 58efa45102..17aeb8a121 100644 --- a/enterprise/docker-compose-remote-api.yml +++ b/enterprise/docker-compose-remote-api.yml @@ -11,6 +11,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/enterprise/docker-compose-remote.yml b/enterprise/docker-compose-remote.yml index 50fb12b6e3..ed410bf330 100644 --- a/enterprise/docker-compose-remote.yml +++ b/enterprise/docker-compose-remote.yml @@ -11,6 +11,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/enterprise/docker-compose.yml b/enterprise/docker-compose.yml index a17805a670..ab78faf904 100644 --- a/enterprise/docker-compose.yml +++ b/enterprise/docker-compose.yml @@ -13,6 +13,21 @@ services: volumes: - ./db:/code/db + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + frontend: container_name: frontend environment: diff --git a/frontend/tests/docker-compose.e2e-tests.yml b/frontend/tests/docker-compose.e2e-tests.yml index 625114970a..127f2f3bb4 100644 --- a/frontend/tests/docker-compose.e2e-tests.yml +++ b/frontend/tests/docker-compose.e2e-tests.yml @@ -15,6 +15,21 @@ services: ports: - 8080:8000 + huey: + container_name: huey + image: ghcr.io/intuitem/ciso-assistant-community/backend:latest + restart: always + environment: + - ALLOWED_HOSTS=backend,localhost + - DJANGO_DEBUG=False + volumes: + - ./db:/code/db + entrypoint: + - /bin/sh + - -c + - | + poetry run python manage.py run_huey + tests: container_name: functional-tests environment: