You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I've managed to build a stack based on the self hosted revolt chat docker (https://github.com/revoltchat/self-hosted)
It's working... but as I'm already using portainer and traefik the ports are not working.
Any idea on how to fix that ? And maybe it can help others too :)
I mean I already have a: portainer + swarmpit + traefik + gitea + drone + taiga (thanks a loooooooot)
When I try to subscribe it's says Network error.
Hello, I've managed to build a stack based on the self hosted revolt chat docker (https://github.com/revoltchat/self-hosted)
It's working... but as I'm already using portainer and traefik the ports are not working.
Any idea on how to fix that ? And maybe it can help others too :)
I mean I already have a: portainer + swarmpit + traefik + gitea + drone + taiga (thanks a loooooooot)
When I try to subscribe it's says Network error.
Thanks
version: '3.8'
x-default: &defaults
environment:
networks:
traefik-public:
external: true
services:
MongoDB database
database:
<<: *defaults
image: mongo
volumes:
- revoltdb:/data/db
networks:
- traefik-public
Redis server
redis:
<<: *defaults
image: eqalpha/keydb
networks:
- traefik-public
API server (delta)
api:
<<: *defaults
image: ghcr.io/revoltchat/server:20220715-1
depends_on:
- database
- redis
ports:
- "8000:8000"
networks:
- traefik-public
Events service (quark)
events:
<<: *defaults
image: ghcr.io/revoltchat/bonfire:20220715-1
depends_on:
- database
- redis
ports:
- "9000:9000"
networks:
- traefik-public
Web App (revite)
web:
<<: *defaults
image: ghcr.io/revoltchat/client:master
ports:
- "5000:5000"
networks:
- traefik-public
deploy:
placement:
constraints:
- node.role == manager
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public
- traefik.constraint-label=traefik-public
- traefik.http.routers.revolt-http.rule=Host(
revolt.PRIVATE
)- traefik.http.routers.revolt-http.entrypoints=http
- traefik.http.routers.revolt-http.middlewares=https-redirect
- traefik.http.routers.revolt-https.rule=Host(
revolt.PRIVATE
)- traefik.http.routers.revolt-https.entrypoints=https
- traefik.http.routers.revolt-https.tls=true
- traefik.http.routers.revolt-https.tls.certresolver=le
- traefik.http.services.revolt.loadbalancer.server.port=5000
S3-compatible storage server
minio:
<<: *defaults
image: minio/minio
command: server /data
volumes:
- revoltminio:/data
ports:
- "10000:9000"
networks:
- traefik-public
Create buckets for minio.
createbuckets:
<<: *defaults
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
while ! curl -s --output /dev/null --connect-timeout 1 http://minio:9000; do echo 'Waiting minio...' && sleep 0.1; done;
/usr/bin/mc alias set minio http://minio:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD;
/usr/bin/mc mb minio/attachments;
/usr/bin/mc mb minio/avatars;
/usr/bin/mc mb minio/backgrounds;
/usr/bin/mc mb minio/icons;
/usr/bin/mc mb minio/banners;
/usr/bin/mc mb minio/emojis;
exit 0;
"
File server (autumn)
autumn:
<<: *defaults
image: ghcr.io/revoltchat/autumn:1.1.5
depends_on:
- database
- createbuckets
environment:
- AUTUMN_MONGO_URI=mongodb://database
ports:
- "3000:3000"
networks:
- traefik-public
Metadata and image proxy (january)
january:
<<: *defaults
image: ghcr.io/revoltchat/january:master
ports:
- "7000:7000"
networks:
- traefik-public
volumes:
revoltdb:
revoltminio:
The text was updated successfully, but these errors were encountered: