modified docker-compsoe yaml
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user