diff --git a/hasura/compose-aml.yaml b/hasura/compose-aml.yaml index 81de238b..54cd2797 100644 --- a/hasura/compose-aml.yaml +++ b/hasura/compose-aml.yaml @@ -35,7 +35,7 @@ services: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml promptql-playground: environment: - CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io} + CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io,https://promptql.console.hasura.io} ENGINE_URL: ${HASURA_DDN_URL:-http://engine:3000/v1/sql} HASURA_LLM_URI: ${HASURA_LLM_URI:-https://llm.promptql.pro.hasura.io} LLM: ${LLM:-hasura} diff --git a/hasura/compose-healthcare.yaml b/hasura/compose-healthcare.yaml index 7721e354..75772186 100644 --- a/hasura/compose-healthcare.yaml +++ b/hasura/compose-healthcare.yaml @@ -44,7 +44,7 @@ services: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml promptql-playground: environment: - CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io} + CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io,https://promptql.console.hasura.io} ENGINE_URL: ${HASURA_DDN_URL:-http://engine:3000/v1/sql} HASURA_LLM_URI: ${HASURA_LLM_URI:-https://llm.promptql.pro.hasura.io} LLM: ${LLM:-hasura} diff --git a/hasura/compose-telco.yaml b/hasura/compose-telco.yaml index dd70a842..ea04ea47 100644 --- a/hasura/compose-telco.yaml +++ b/hasura/compose-telco.yaml @@ -40,7 +40,7 @@ services: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml promptql-playground: environment: - CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io} + CORS_ORIGINS: ${CORS_ORIGINS:-https://console.hasura.io,https://promptql.console.hasura.io} ENGINE_URL: ${HASURA_DDN_URL:-http://engine:3000/v1/sql} HASURA_LLM_URI: ${HASURA_LLM_URI:-https://llm.promptql.pro.hasura.io} LLM: ${LLM:-hasura} diff --git a/infra/ansible/playbooks/axiom.yml b/infra/ansible/playbooks/axiom.yml index 914c814c..6191ac57 100644 --- a/infra/ansible/playbooks/axiom.yml +++ b/infra/ansible/playbooks/axiom.yml @@ -79,10 +79,12 @@ env_file_path: "/home/ubuntu/axiom-data/{{ demo_profile }}/.env" - name: Turn on the demo - ansible.builtin.command: docker compose -f compose.yaml --env-file .env up --build --pull always -d - args: - chdir: /home/ubuntu/axiom-data/{{ demo_profile }} - register: ddn_demo_start - changed_when: false + community.docker.docker_compose_v2: + project_src: /home/ubuntu/axiom-data/{{ demo_profile }} + files: + - compose.yaml + build: always + pull: always + state: present + remove_orphans: true become: true - become_user: ubuntu diff --git a/infra/ansible/requirements.yml b/infra/ansible/requirements.yml index ce75c98d..6664c9f9 100644 --- a/infra/ansible/requirements.yml +++ b/infra/ansible/requirements.yml @@ -4,6 +4,8 @@ collections: version: 2.0.0 - name: community.general version: 10.3.0 + - name: community.docker + version: 4.5.2 roles: - name: geerlingguy.nginx