mirror of
https://github.com/vndangkhoa/purestream.git
synced 2026-04-05 01:17:58 +07:00
Fix: Add custom network to avoid IPv4 overlap on Synology NAS
This commit is contained in:
parent
a5ffc8d4aa
commit
156bc9aed6
1 changed files with 11 additions and 2 deletions
|
|
@ -19,8 +19,9 @@ services:
|
||||||
- CACHE_TTL_HOURS=24
|
- CACHE_TTL_HOURS=24
|
||||||
# Required for Playwright browser
|
# Required for Playwright browser
|
||||||
shm_size: '2gb'
|
shm_size: '2gb'
|
||||||
# Security: run as non-root (optional)
|
# Use custom network to avoid IP conflicts
|
||||||
# user: "1000:1000"
|
networks:
|
||||||
|
- purestream_net
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "curl", "-f", "http://localhost:8002/health" ]
|
test: [ "CMD", "curl", "-f", "http://localhost:8002/health" ]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|
@ -33,3 +34,11 @@ volumes:
|
||||||
driver: local
|
driver: local
|
||||||
purestream_session:
|
purestream_session:
|
||||||
driver: local
|
driver: local
|
||||||
|
|
||||||
|
networks:
|
||||||
|
purestream_net:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
driver: default
|
||||||
|
config:
|
||||||
|
- subnet: 172.28.0.0/16
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue