mirror of
https://github.com/ijaric/voice_assistant.git
synced 2025-05-25 06:53:26 +00:00
23 lines
456 B
YAML
Executable File
23 lines
456 B
YAML
Executable File
version: "3.3"
|
|
|
|
services:
|
|
bot:
|
|
image: "${BOT_IMAGE_NAME:-tg_bot-image}"
|
|
container_name: "${BOT_CONTAINER_NAME:-tg_bot-container}"
|
|
stop_signal: SIGINT
|
|
build:
|
|
context: .
|
|
working_dir: "/usr/src/app/${BOT_NAME:-tg_bot}"
|
|
volumes:
|
|
- .:/usr/src/app/${BOT_NAME:-tg_bot}
|
|
command: poetry run python bot.py
|
|
restart: always
|
|
env_file:
|
|
- ".env"
|
|
networks:
|
|
- tg_bot
|
|
|
|
networks:
|
|
tg_bot:
|
|
driver: bridge
|