这是indexloc提供的服务,不要输入任何密码
Skip to content

Adds in new CORS address to industry compose and switches to docker c… #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hasura/compose-aml.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion hasura/compose-healthcare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion hasura/compose-telco.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
14 changes: 8 additions & 6 deletions infra/ansible/playbooks/axiom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions infra/ansible/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading