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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user