docs: new installation guide

This commit is contained in:
Paul Makles
2024-10-27 21:43:03 +00:00
parent bf3921aca1
commit f44caf1cf8
5 changed files with 148 additions and 142 deletions

View File

@@ -1,3 +1,5 @@
name: revolt
services:
# MongoDB database
database:
@@ -15,7 +17,6 @@ services:
minio:
image: minio/minio
command: server /data
env_file: .env
volumes:
- ./data/minio:/data
restart: always
@@ -24,7 +25,7 @@ services:
caddy:
image: caddy
restart: always
env_file: .env
env_file: .env.web
ports:
- "80:80"
- "443:443"
@@ -35,24 +36,20 @@ services:
# API server (delta)
api:
image: ghcr.io/revoltchat/server:20240929-1
env_file: .env
image: ghcr.io/revoltchat/server:20241024-1
depends_on:
- database
- redis
- caddy
volumes:
- ./Revolt.toml:/Revolt.toml
restart: always
# Events service (quark)
events:
image: ghcr.io/revoltchat/bonfire:20240929-1
env_file: .env
image: ghcr.io/revoltchat/bonfire:20241024-1
depends_on:
- database
- redis
- caddy
volumes:
- ./Revolt.toml:/Revolt.toml
restart: always
@@ -60,28 +57,23 @@ services:
# Web App (revite)
web:
image: ghcr.io/revoltchat/client:master
env_file: .env
depends_on:
- caddy
restart: always
# File server (autumn)
autumn:
image: ghcr.io/revoltchat/autumn:1.1.11
env_file: .env
image: ghcr.io/revoltchat/autumn:20241024-1
depends_on:
- database
- createbuckets
- caddy
environment:
- AUTUMN_MONGO_URI=mongodb://database
volumes:
- ./Revolt.toml:/Revolt.toml
restart: always
# Metadata and image proxy (january)
january:
image: ghcr.io/revoltchat/january:0.3.5
depends_on:
- caddy
image: ghcr.io/revoltchat/january:20241024-1
volumes:
- ./Revolt.toml:/Revolt.toml
restart: always
# Create buckets for minio.
@@ -89,7 +81,9 @@ services:
image: minio/mc
depends_on:
- minio
env_file: .env
environment:
MINIO_ROOT_USER: minioautumn
MINIO_ROOT_PASSWORD: minioautumn
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD;