24 lines
472 B
YAML
24 lines
472 B
YAML
services:
|
|
mikopbx-bot:
|
|
build: ./bot
|
|
container_name: mikopbx-bot
|
|
restart: unless-stopped
|
|
network_mode: "host" # Бот использует сеть хоста напрямую!
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./bot/data:/app/data
|
|
|
|
# redis:
|
|
# image: redis:7-alpine
|
|
# container_name: mikopbx-redis
|
|
# restart: unless-stopped
|
|
# ports:
|
|
# - "6379:6379"
|
|
# networks:
|
|
# - bot-net
|
|
|
|
networks:
|
|
bot-net:
|
|
driver: bridge
|