forked from kofal.net/stoatchat-self-hosted
Update to new stoat name new docker config options
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
name: revolt
|
||||
name: stoat
|
||||
|
||||
services:
|
||||
# MongoDB database
|
||||
# MongoDB: Database
|
||||
database:
|
||||
image: mongo
|
||||
image: docker.io/mongo
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data/db:/data/db
|
||||
@@ -14,13 +14,14 @@ services:
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
|
||||
# Redis server
|
||||
# Redis: Event message broker & KV store
|
||||
redis:
|
||||
image: eqalpha/keydb
|
||||
image: docker.io/eqalpha/keydb
|
||||
restart: always
|
||||
|
||||
# RabbitMQ: Internal message broker
|
||||
rabbit:
|
||||
image: rabbitmq:4
|
||||
image: docker.io/rabbitmq:4
|
||||
restart: always
|
||||
environment:
|
||||
RABBITMQ_DEFAULT_USER: rabbituser
|
||||
@@ -34,9 +35,9 @@ services:
|
||||
retries: 3
|
||||
start_period: 20s
|
||||
|
||||
# S3-compatible storage server
|
||||
# MinIO: S3-compatible storage server
|
||||
minio:
|
||||
image: minio/minio
|
||||
image: docker.io/minio/minio
|
||||
command: server /data
|
||||
volumes:
|
||||
- ./data/minio:/data
|
||||
@@ -57,9 +58,9 @@ services:
|
||||
- emojis.minio
|
||||
restart: always
|
||||
|
||||
# Caddy web server
|
||||
# Caddy: Web server
|
||||
caddy:
|
||||
image: caddy
|
||||
image: docker.io/caddy
|
||||
restart: always
|
||||
environment:
|
||||
- HOSTNAME=${HOSTNAME}
|
||||
@@ -74,9 +75,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:20250930-2
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
@@ -90,9 +91,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:20250930-2
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
@@ -104,7 +105,7 @@ services:
|
||||
target: /Revolt.toml
|
||||
restart: always
|
||||
|
||||
# Web App (revite)
|
||||
# Web App
|
||||
web:
|
||||
image: ghcr.io/revoltchat/client:master
|
||||
restart: always
|
||||
@@ -112,9 +113,9 @@ services:
|
||||
- HOSTNAME=${HOSTNAME}
|
||||
- REVOLT_PUBLIC_URL={REVOLT_PUBLIC_URL}
|
||||
|
||||
# File server (autumn)
|
||||
# File server
|
||||
autumn:
|
||||
image: ghcr.io/revoltchat/autumn:20241213-1
|
||||
image: ghcr.io/revoltchat/autumn:20250930-2
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
@@ -126,18 +127,41 @@ 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:20250930-2
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./Revolt.toml
|
||||
target: /Revolt.toml
|
||||
restart: always
|
||||
|
||||
# Push notification daemon (pushd)
|
||||
# Tenor proxy
|
||||
gifbox:
|
||||
image: ghcr.io/revoltchat/gifbox:20250930-2
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./Revolt.toml
|
||||
target: /Revolt.toml
|
||||
restart: always
|
||||
|
||||
# Regular task daemon
|
||||
crond:
|
||||
image: ghcr.io/revoltchat/crond:20250930-2
|
||||
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:20250930-2
|
||||
depends_on:
|
||||
database:
|
||||
condition: service_healthy
|
||||
@@ -153,15 +177,15 @@ services:
|
||||
|
||||
# Create buckets for minio.
|
||||
createbuckets:
|
||||
image: minio/mc
|
||||
image: docker.io/minio/mc
|
||||
depends_on:
|
||||
- minio
|
||||
entrypoint: >
|
||||
/bin/sh -c "
|
||||
while ! /usr/bin/mc ready minio; do
|
||||
/usr/bin/mc config host add minio http://minio:9000 minioautumn minioautumn;
|
||||
/usr/bin/mc alias set minio http://minio:9000 minioautumn minioautumn;
|
||||
echo 'Waiting minio...' && sleep 1;
|
||||
done;
|
||||
/usr/bin/mc mb minio/revolt-uploads;
|
||||
exit 0;
|
||||
"
|
||||
"
|
||||
Reference in New Issue
Block a user