forked from kofal.net/stoatchat-self-hosted
chore: bump tag and add crond service
This commit is contained in:
45
compose.yml
45
compose.yml
@@ -1,7 +1,7 @@
|
|||||||
name: revolt
|
name: revolt
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# MongoDB database
|
# MongoDB: Database
|
||||||
database:
|
database:
|
||||||
image: mongo
|
image: mongo
|
||||||
restart: always
|
restart: always
|
||||||
@@ -14,11 +14,12 @@ services:
|
|||||||
retries: 5
|
retries: 5
|
||||||
start_period: 10s
|
start_period: 10s
|
||||||
|
|
||||||
# Redis server
|
# Redis: Event message broker & KV store
|
||||||
redis:
|
redis:
|
||||||
image: eqalpha/keydb
|
image: eqalpha/keydb
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
|
# RabbitMQ: Internal message broker
|
||||||
rabbit:
|
rabbit:
|
||||||
image: rabbitmq:4
|
image: rabbitmq:4
|
||||||
restart: always
|
restart: always
|
||||||
@@ -34,7 +35,7 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 20s
|
start_period: 20s
|
||||||
|
|
||||||
# S3-compatible storage server
|
# MinIO: S3-compatible storage server
|
||||||
minio:
|
minio:
|
||||||
image: minio/minio
|
image: minio/minio
|
||||||
command: server /data
|
command: server /data
|
||||||
@@ -57,7 +58,7 @@ services:
|
|||||||
- emojis.minio
|
- emojis.minio
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# Caddy web server
|
# Caddy: Web server
|
||||||
caddy:
|
caddy:
|
||||||
image: caddy
|
image: caddy
|
||||||
restart: always
|
restart: always
|
||||||
@@ -70,9 +71,9 @@ services:
|
|||||||
- ./data/caddy-data:/data
|
- ./data/caddy-data:/data
|
||||||
- ./data/caddy-config:/config
|
- ./data/caddy-config:/config
|
||||||
|
|
||||||
# API server (delta)
|
# API server
|
||||||
api:
|
api:
|
||||||
image: ghcr.io/revoltchat/server:20241213-1
|
image: ghcr.io/revoltchat/server:20250201-1
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -86,9 +87,9 @@ services:
|
|||||||
target: /Revolt.toml
|
target: /Revolt.toml
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# Events service (quark)
|
# Events service
|
||||||
events:
|
events:
|
||||||
image: ghcr.io/revoltchat/bonfire:20241213-1
|
image: ghcr.io/revoltchat/bonfire:20250201-1
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -100,15 +101,15 @@ services:
|
|||||||
target: /Revolt.toml
|
target: /Revolt.toml
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# Web App (revite)
|
# Web App
|
||||||
web:
|
web:
|
||||||
image: ghcr.io/revoltchat/client:master
|
image: ghcr.io/revoltchat/client:master
|
||||||
restart: always
|
restart: always
|
||||||
env_file: .env.web
|
env_file: .env.web
|
||||||
|
|
||||||
# File server (autumn)
|
# File server
|
||||||
autumn:
|
autumn:
|
||||||
image: ghcr.io/revoltchat/autumn:20241213-1
|
image: ghcr.io/revoltchat/autumn:20250201-1
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -120,18 +121,32 @@ services:
|
|||||||
target: /Revolt.toml
|
target: /Revolt.toml
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# Metadata and image proxy (january)
|
# Metadata and image proxy
|
||||||
january:
|
january:
|
||||||
image: ghcr.io/revoltchat/january:20241213-1
|
image: ghcr.io/revoltchat/january:20250201-1
|
||||||
volumes:
|
volumes:
|
||||||
- type: bind
|
- type: bind
|
||||||
source: ./Revolt.toml
|
source: ./Revolt.toml
|
||||||
target: /Revolt.toml
|
target: /Revolt.toml
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
# Push notification daemon (pushd)
|
# Regular task daemon
|
||||||
|
crond:
|
||||||
|
image: ghcr.io/revoltchat/crond:20250201-1
|
||||||
|
depends_on:
|
||||||
|
database:
|
||||||
|
condition: service_healthy
|
||||||
|
minio:
|
||||||
|
condition: service_started
|
||||||
|
volumes:
|
||||||
|
- type: bind
|
||||||
|
source: ./Revolt.toml
|
||||||
|
target: /Revolt.toml
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
# Push notification daemon
|
||||||
pushd:
|
pushd:
|
||||||
image: ghcr.io/revoltchat/pushd:20241213-1
|
image: ghcr.io/revoltchat/pushd:20250201-1
|
||||||
depends_on:
|
depends_on:
|
||||||
database:
|
database:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user