1
0
mirror of https://github.com/ijaric/voice_assistant.git synced 2025-07-13 05:03:25 +00:00
voice_assistant/src/bot_aiogram/docker-compose.yml
2023-10-15 07:49:19 +03:00

34 lines
597 B
YAML
Executable File

version: "3"
services:
bot:
image: "${BOT_IMAGE_NAME:-tg_bot-image}"
container_name: "${BOT_CONTAINER_NAME:-tg_bot-container}"
build:
context: .
restart: always
env_file:
- .env
networks:
- tg_bot_network
redis:
image: redis:7.0.11
restart: always
env_file:
- .env
ports:
- "127.0.0.1:${REDIS_PORT}:${REDIS_PORT}"
command: redis-server --bind 0.0.0.0 --appendonly yes
volumes:
- redis_data:/data
networks:
- tg_bot_network
volumes:
redis_data:
networks:
tg_bot_network:
driver: bridge