Fix up env vars and nginx config, working web sockets
This commit is contained in:
15
compose.yml
15
compose.yml
@ -1,4 +1,7 @@
|
||||
---
|
||||
|
||||
# NOTE: based on https://github.com/suitenumerique/docs/pull/855/ and https://github.com/suitenumerique/docs/pull/583/
|
||||
|
||||
x-common-env: &common-env
|
||||
DJANGO_CONFIGURATION: Demo
|
||||
DJANGO_ALLOWED_HOSTS: "*"
|
||||
@ -48,10 +51,6 @@ x-common-env: &common-env
|
||||
AI_MODEL: llama
|
||||
# Collaboration
|
||||
COLLABORATION_API_URL: https://$DOMAIN/collaboration/api/
|
||||
COLLABORATION_BACKEND_BASE_URL: http://app:8000
|
||||
COLLABORATION_SERVER_ORIGIN: https://$DOMAIN
|
||||
COLLABORATION_SERVER_SECRET: my-secret
|
||||
COLLABORATION_WS_URL: wss://${DOMAIN}/collaboration/ws/
|
||||
|
||||
x-postgres-env: &postgres-env
|
||||
# Postgresql db container configuration
|
||||
@ -70,9 +69,11 @@ x-postgres-env: &postgres-env
|
||||
x-yprovider-env: &yprovider-env
|
||||
COLLABORATION_LOGGING: "true"
|
||||
Y_PROVIDER_API_KEY: foobar
|
||||
COLLABORATION_API_URL: https://impress.127.0.0.1.nip.io/collaboration/api/
|
||||
COLLABORATION_SERVER_ORIGIN: https://impress.127.0.0.1.nip.io
|
||||
COLLABORATION_SERVER_SECRET: barbar
|
||||
COLLABORATION_API_URL: http://y-provider:4444/api/
|
||||
COLLABORATION_SERVER_ORIGIN: https://${DOMAIN}
|
||||
COLLABORATION_SERVER_SECRET: my-secret
|
||||
COLLABORATION_BACKEND_BASE_URL: https://${DOMAIN}
|
||||
COLLABORATION_WS_URL: wss://${DOMAIN}/collaboration/ws/
|
||||
|
||||
x-minio-env: &minio-env
|
||||
MINIO_ROOT_USER: user
|
||||
|
||||
Reference in New Issue
Block a user