feat: update to new architecture
https://github.com/revoltchat/revolt/issues/322
This commit is contained in:
10
.env.example
10
.env.example
@@ -1,3 +1,13 @@
|
|||||||
|
##
|
||||||
|
## Quark configuration
|
||||||
|
##
|
||||||
|
|
||||||
|
# MongoDB
|
||||||
|
MONGODB=mongodb://database
|
||||||
|
|
||||||
|
# Redis
|
||||||
|
REDIS_URI=redis://redis/
|
||||||
|
|
||||||
# URL to where the Revolt app is publicly accessible
|
# URL to where the Revolt app is publicly accessible
|
||||||
REVOLT_APP_URL=http://local.revolt.chat:5000
|
REVOLT_APP_URL=http://local.revolt.chat:5000
|
||||||
|
|
||||||
|
|||||||
@@ -13,24 +13,31 @@ services:
|
|||||||
image: eqalpha/keydb
|
image: eqalpha/keydb
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# REVOLT API server (Delta)
|
# API server (delta)
|
||||||
api:
|
api:
|
||||||
image: revoltchat/server
|
image: ghcr.io/revoltchat/server:0.5.3-rc.1
|
||||||
env_file: .env
|
env_file: .env
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
- redis
|
- redis
|
||||||
environment:
|
|
||||||
- REVOLT_MONGO_URI=mongodb://database
|
|
||||||
- REVOLT_REDIS_URI=redis://redis/
|
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
# Events service (quark)
|
||||||
|
events:
|
||||||
|
image: ghcr.io/revoltchat/bonfire:0.1.0
|
||||||
|
env_file: .env
|
||||||
|
depends_on:
|
||||||
|
- database
|
||||||
|
- redis
|
||||||
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# REVOLT Web App
|
# Web App (revite)
|
||||||
web:
|
web:
|
||||||
image: revoltchat/client:master
|
image: ghcr.io/revoltchat/client:master
|
||||||
env_file: .env
|
env_file: .env
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
@@ -65,9 +72,9 @@ services:
|
|||||||
exit 0;
|
exit 0;
|
||||||
"
|
"
|
||||||
|
|
||||||
# REVOLT file hosting service (Autumn)
|
# File server (autumn)
|
||||||
autumn:
|
autumn:
|
||||||
image: revoltchat/autumn
|
image: ghcr.io/revoltchat/autumn:master
|
||||||
env_file: .env
|
env_file: .env
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
@@ -78,9 +85,9 @@ services:
|
|||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# REVOLT metadata and image proxy (January)
|
# Metadata and image proxy (january)
|
||||||
january:
|
january:
|
||||||
image: revoltchat/january
|
image: ghcr.io/revoltchat/january:master
|
||||||
ports:
|
ports:
|
||||||
- "7000:3000"
|
- "7000:3000"
|
||||||
restart: always
|
restart: always
|
||||||
|
|||||||
Reference in New Issue
Block a user