-
Notifications
You must be signed in to change notification settings - Fork 178
Closed
Description
Hello everyone,
Thanks for this project it's awesome and I hope it's gonna grow big.
I'm trying to deploy Revolt on my personal server. To do so I have deployed the Docker containers using the docker-compose on this project.
I'm trying to setup all of this behind a Nginx proxy (on my server domain, with HTTPS) but can't get it to work. For now I have a Nginx proxy that proxies https://revolt.mydomain.com/
to http://local.revolt.chat:5000
but when I go to the Revolt app page, I have network errors since the client is trying to reach the backend on http://local.revolt.chat:8000
.
- Am I on the right track?
- How can I properly proxy everything (client, backend, other services, etc.)?
- Is it safe to expose all of these services?
Here is my .env
file:
# URL to where the Revolt app is publicly accessible
REVOLT_APP_URL=http://local.revolt.chat:5000
# URL to where the API is publicly accessible
REVOLT_PUBLIC_URL=http://local.revolt.chat:8000
VITE_API_URL=http://local.revolt.chat:8000
# URL to where the WebSocket server is publicly accessible
REVOLT_EXTERNAL_WS_URL=ws://local.revolt.chat:9000
# URL to where Autumn is publicly available
AUTUMN_PUBLIC_URL=http://local.revolt.chat:3000
# URL to where January is publicly available
JANUARY_PUBLIC_URL=http://local.revolt.chat:7000
# URL to where Vortex is publicly available
# VOSO_PUBLIC_URL=https://voso.revolt.chat
##
## hCaptcha Settings
##
# If you are sure that you don't want to use hCaptcha, set to 1.
REVOLT_UNSAFE_NO_CAPTCHA=0
# hCaptcha API key
REVOLT_HCAPTCHA_KEY=******
# hCaptcha site key
REVOLT_HCAPTCHA_SITEKEY=******
##
## Email Settings
##
# If you are sure that you don't want to use email verification, set to 1.
REVOLT_UNSAFE_NO_EMAIL=0
# SMTP host
# REVOLT_SMTP_HOST=smtp.example.com
# SMTP username
# REVOLT_SMTP_USERNAME=noreply@example.com
# SMTP password
# REVOLT_SMTP_PASSWORD=CHANGEME
# SMTP From header
# REVOLT_SMTP_FROM=Revolt <noreply@example.com>
##
## Application Settings
##
# Whether to only allow users to sign up if they have an invite code
REVOLT_INVITE_ONLY=1
# Maximum number of people that can be in a group chat
REVOLT_MAX_GROUP_SIZE=50
# VAPID keys for push notifications
# Generate using this guide: https://gitlab.insrt.uk/revolt/delta/-/wikis/vapid
# --> Please replace these keys before going into production! <--
REVOLT_VAPID_PRIVATE_KEY=******
REVOLT_VAPID_PUBLIC_KEY=******
##
## Autumn configuration
##
# S3 Region
AUTUMN_S3_REGION=minio
# S3 Endpoint
AUTUMN_S3_ENDPOINT=http://minio:9000
# MinIO Root User
MINIO_ROOT_USER=minioautumn
# MinIO Root Password
MINIO_ROOT_PASSWORD=minioautumn
# AWS Access Key ID (auto-filled if present above)
# AWS_ACCESS_KEY_ID=minioautumn
# AWS Secret Key (auto-filled if present above)
# AWS_SECRET_ACCESS_KEY=minioautumn
##
## Vortex configuration
##
# VOSO_MANAGE_TOKEN=CHANGEME
Thanks for any help
Metadata
Metadata
Assignees
Labels
No labels