modified docker-compsoe yaml

This commit is contained in:
root
2026-07-09 21:45:50 +00:00
parent 42ed6775eb
commit a409492da7
3 changed files with 29 additions and 10 deletions

View File

@@ -3,21 +3,20 @@ services:
build: ./bot
container_name: mikopbx-bot
restart: unless-stopped
network_mode: "host" # Бот использует сеть хоста напрямую!
env_file:
- .env
volumes:
- ./bot/data:/app/data
depends_on:
- redis
networks:
- bot-net
redis:
image: redis:7-alpine
container_name: mikopbx-redis
restart: unless-stopped
networks:
- bot-net
# redis:
# image: redis:7-alpine
# container_name: mikopbx-redis
# restart: unless-stopped
# ports:
# - "6379:6379"
# networks:
# - bot-net
networks:
bot-net: