Fix: Add custom network to avoid IPv4 overlap on Synology NAS

This commit is contained in:
Khoa.vo 2025-12-19 13:49:03 +07:00
parent a5ffc8d4aa
commit 156bc9aed6

View file

@ -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