From 156bc9aed6cca0baf48ebbff9c675e9fb7308c21 Mon Sep 17 00:00:00 2001 From: "Khoa.vo" Date: Fri, 19 Dec 2025 13:49:03 +0700 Subject: [PATCH] Fix: Add custom network to avoid IPv4 overlap on Synology NAS --- docker-compose.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5dabe75..55e265a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,8 +19,9 @@ services: - CACHE_TTL_HOURS=24 # Required for Playwright browser shm_size: '2gb' - # Security: run as non-root (optional) - # user: "1000:1000" + # Use custom network to avoid IP conflicts + networks: + - purestream_net healthcheck: test: [ "CMD", "curl", "-f", "http://localhost:8002/health" ] interval: 30s @@ -33,3 +34,11 @@ volumes: driver: local purestream_session: driver: local + +networks: + purestream_net: + driver: bridge + ipam: + driver: default + config: + - subnet: 172.28.0.0/16