fix: fixed default keys in the default backend config

pull/115/head
IAmTomahawkx 6 months ago
parent 7c8480e796
commit 1228dee0c1

@ -370,13 +370,6 @@ db.invites.insertOne({ _id: "enter_an_invite_code_here" })
> - Rename config section `api.vapid` -> `pushd.vapid` > - Rename config section `api.vapid` -> `pushd.vapid`
> - Rename config section `api.fcm` -> `pushd.fcm` > - Rename config section `api.fcm` -> `pushd.fcm`
> - Rename config section `api.apn` -> `pushd.apn` > - Rename config section `api.apn` -> `pushd.apn`
> - The following fields are needed when using the provided docker compose:
> ```toml
> [rabbit]
> host = "rabbit"
> username = "rabbituser"
> password = "rabbitpass"
> ```
> >
> These will NOT automatically be applied to your config, and must be changed/added manually. > These will NOT automatically be applied to your config, and must be changed/added manually.
> >

@ -72,7 +72,7 @@ services:
# API server (delta) # API server (delta)
api: api:
image: ghcr.io/revoltchat/server:20241128-2 image: ghcr.io/revoltchat/server:20241128-3
depends_on: depends_on:
database: database:
condition: service_healthy condition: service_healthy
@ -86,10 +86,12 @@ services:
# Events service (quark) # Events service (quark)
events: events:
image: ghcr.io/revoltchat/bonfire:20241128-2 image: ghcr.io/revoltchat/bonfire:20241128-3
depends_on: depends_on:
- database database:
- redis condition: service_healthy
redis:
condition: service_started
volumes: volumes:
- ./Revolt.toml:/Revolt.toml - ./Revolt.toml:/Revolt.toml
restart: always restart: always
@ -102,24 +104,26 @@ services:
# File server (autumn) # File server (autumn)
autumn: autumn:
image: ghcr.io/revoltchat/autumn:20241128-2 image: ghcr.io/revoltchat/autumn:20241128-3
depends_on: depends_on:
- database database:
- createbuckets condition: service_healthy
createbuckets:
condition: service_started
volumes: volumes:
- ./Revolt.toml:/Revolt.toml - ./Revolt.toml:/Revolt.toml
restart: always restart: always
# Metadata and image proxy (january) # Metadata and image proxy (january)
january: january:
image: ghcr.io/revoltchat/january:20241024-1 image: ghcr.io/revoltchat/january:20241128-3
volumes: volumes:
- ./Revolt.toml:/Revolt.toml - ./Revolt.toml:/Revolt.toml
restart: always restart: always
# Push notification daemon (pushd) # Push notification daemon (pushd)
pushd: pushd:
image: ghcr.io/revoltchat/pushd:20241128-2 image: ghcr.io/revoltchat/pushd:20241128-3
depends_on: depends_on:
database: database:
condition: service_healthy condition: service_healthy

@ -12,13 +12,6 @@ echo "events = \"wss://$1/ws\"" >> Revolt.toml
echo "autumn = \"https://$1/autumn\"" >> Revolt.toml echo "autumn = \"https://$1/autumn\"" >> Revolt.toml
echo "january = \"https://$1/january\"" >> Revolt.toml echo "january = \"https://$1/january\"" >> Revolt.toml
# Rabbit target, since rabbit isn't set up for docker by default
echo "" >> Revolt.toml
echo "[rabbit]" >> Revolt.toml
echo "host = \"rabbit\"" >> Revolt.toml
echo "user = \"rabbituser\"" >> Revolt.toml
echo "password = \"rabbitpass\"" >> Revolt.toml
# VAPID keys # VAPID keys
echo "" >> Revolt.toml echo "" >> Revolt.toml
echo "[pushd.vapid]" >> Revolt.toml echo "[pushd.vapid]" >> Revolt.toml

Loading…
Cancel
Save