Skip to content

Commit

Permalink
chore: bump tag and add crond service
Browse files Browse the repository at this point in the history
  • Loading branch information
insertish authored Feb 10, 2025
1 parent 43ab1d8 commit 73940f7
Showing 1 changed file with 30 additions and 15 deletions.
45 changes: 30 additions & 15 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: revolt

services:
# MongoDB database
# MongoDB: Database
database:
image: mongo
restart: always
Expand All @@ -14,11 +14,12 @@ services:
retries: 5
start_period: 10s

# Redis server
# Redis: Event message broker & KV store
redis:
image: eqalpha/keydb
restart: always

# RabbitMQ: Internal message broker
rabbit:
image: rabbitmq:4
restart: always
Expand All @@ -34,7 +35,7 @@ services:
retries: 3
start_period: 20s

# S3-compatible storage server
# MinIO: S3-compatible storage server
minio:
image: minio/minio
command: server /data
Expand All @@ -57,7 +58,7 @@ services:
- emojis.minio
restart: always

# Caddy web server
# Caddy: Web server
caddy:
image: caddy
restart: always
Expand All @@ -70,9 +71,9 @@ services:
- ./data/caddy-data:/data
- ./data/caddy-config:/config

# API server (delta)
# API server
api:
image: ghcr.io/revoltchat/server:20241213-1
image: ghcr.io/revoltchat/server:20250201-1
depends_on:
database:
condition: service_healthy
Expand All @@ -86,9 +87,9 @@ services:
target: /Revolt.toml
restart: always

# Events service (quark)
# Events service
events:
image: ghcr.io/revoltchat/bonfire:20241213-1
image: ghcr.io/revoltchat/bonfire:20250201-1
depends_on:
database:
condition: service_healthy
Expand All @@ -100,15 +101,15 @@ services:
target: /Revolt.toml
restart: always

# Web App (revite)
# Web App
web:
image: ghcr.io/revoltchat/client:master
restart: always
env_file: .env.web

# File server (autumn)
# File server
autumn:
image: ghcr.io/revoltchat/autumn:20241213-1
image: ghcr.io/revoltchat/autumn:20250201-1
depends_on:
database:
condition: service_healthy
Expand All @@ -120,18 +121,32 @@ services:
target: /Revolt.toml
restart: always

# Metadata and image proxy (january)
# Metadata and image proxy
january:
image: ghcr.io/revoltchat/january:20241213-1
image: ghcr.io/revoltchat/january:20250201-1
volumes:
- type: bind
source: ./Revolt.toml
target: /Revolt.toml
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:
image: ghcr.io/revoltchat/pushd:20241213-1
image: ghcr.io/revoltchat/pushd:20250201-1
depends_on:
database:
condition: service_healthy
Expand Down

0 comments on commit 73940f7

Please sign in to comment.