mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-06-27 16:10:30 +08:00
fixed deploy playbook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user