NAS EMULATOR + WOL Proxy

This commit is contained in:
2025-08-31 15:01:12 +09:00
parent bb37f75a0a
commit 147f1dec22
5 changed files with 179 additions and 11 deletions

View File

@@ -1,5 +1,3 @@
version: '3.8'
services:
synology-bot:
build:
@@ -23,16 +21,22 @@ services:
start_period: 20s
networks:
- bot-network
# Для ограничения ресурсов (раскомментируйте и настройте при необходимости):
# deploy:
# resources:
# limits:
# cpus: '0.50'
# memory: 512M
# reservations:
# cpus: '0.25'
# memory: 256M
wol-proxy:
build:
context: .
dockerfile: Dockerfile.wol
container_name: wol-proxy
restart: unless-stopped
network_mode: host
nas-emulator:
build:
context: .
dockerfile: Dockerfile.nas
container_name: nas-emulator
restart: unless-stopped
network_mode: host
networks:
bot-network:
driver: bridge