Sign inSign up

codecat/quack

By codecat

•Updated 3 months ago

Open-source chat application for small scale use

Image
Web servers
0

4.9K

codecat/quack repository overview

⁠Quack

Quack is open-source chat application for small scale use.

⁠Usage

Create chat config chat.config.ts

import giphy from './plugins/giphy.ts';

export default {,
  storage: {
    type: 'fs',
    directory: '/app/uploads',
  },
})

For more information about configuration options please see GitHub project page⁠

And using docker-compose.yaml we can create the app

version: '3.7'

services:
  mongo:
    image: mongo:5.0.28
    restart: always
    ports:
    - 27017:27017
    environment:
      MONGO_INITDB_ROOT_USERNAME: chat
      MONGO_INITDB_ROOT_PASSWORD: chat
    volumes:
      - chat-mongo:/data/db
  chat:
    image: codecat/quack:latest
    restart: on-failure
    ports:
      - 8080:8080
    volumes:
      - ./chat.config.ts:/app/chat.config.ts:ro
      - chat-uploads:/app/uploads
    environment:
      PORT: 8080
      DATABASE_URL: mongodb://chat:chat@mongo:27017/chat?authSource=admin
    depends_on:
    - mongo

volumes:
  chat-mongo:
  chat-uploads:

⁠Licence

MIT License

Copyright (c) 2024 CodeCat

Tag summary

Content type

Image

Digest

sha256:c8ef8990d…

Size

107.3 MB

Last updated

4 months ago

docker pull codecat/quack