Pin container name/hostname in docker-compose.yml

Fixed container_name/hostname (rather than Compose's default
project-derived name) so other tooling can reference this container
by a stable name — needed when this service is embedded in a larger
compose-based stack that wires containers together by name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RSVyYcrjrbmrMKT85G4fyn
This commit is contained in:
Claude
2026-09-26 17:54:58 +00:00
parent e89683840a
commit 371013a13c
+4
View File
@@ -1,7 +1,11 @@
name: tv-adb-remote
services:
tv-adb-remote:
build: .
image: tv-adb-remote
container_name: tv-adb-remote
hostname: tv-adb-remote
ports:
- "8787:8787"
volumes: