24 lines
657 B
YAML
24 lines
657 B
YAML
services:
|
|
app:
|
|
image: ghcr.io/hibobmaster/matrix-stt-bot:latest
|
|
container_name: matrix-stt-bot
|
|
restart: always
|
|
# build:
|
|
# context: .
|
|
# dockerfile: ./Dockerfile
|
|
# env_file:
|
|
# - .env
|
|
volumes:
|
|
# use env file or config.json
|
|
- ./config.json:/app/config.json
|
|
# use touch to create an empty file stt_db, for persist database only(first time only!!!)
|
|
- ./stt_db:/app/db
|
|
# import_keys path
|
|
# - ./element-keys.txt:/app/element-keys.txt
|
|
# store whisper models that program will download
|
|
- ./models:/app/models
|
|
networks:
|
|
- matrix_network
|
|
|
|
networks:
|
|
matrix_network:
|