Skip to content

Commit

Permalink
fixed deploy playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
yk committed Jan 16, 2023
1 parent 8323343 commit 6ccbd38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ansible/deploy-to-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@
FASTAPI_KEY: "{{ web_api_key }}"
NEXTAUTH_SECRET:
"{{ lookup('ansible.builtin.env', 'WEB_NEXTAUTH_SECRET') }}"
NEXTAUTH_URL: http://web.{{ stack_name }}.open-assistant.io/
NEXTAUTH_URL:
"{{ 'https://open-assistant.io/' if stack_name == 'production' else
('https://web.' + stack_name + '.open-assistant.io/') }}"
ports:
- "{{ website_port }}:3000"
command: bash wait-for-postgres.sh node server.js

0 comments on commit 6ccbd38

Please sign in to comment.