Use shared Docker network to connect to btcdata independently

Remove btcdata compose include, use external shared network instead
so both projects can run as separate Docker stacks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 08:51:47 +01:00
co-authored by Claude Opus 4.6
parent a9b7874f36
commit 71918ee4fd
+8 -2
View File
@@ -1,9 +1,15 @@
include:
- path: ../btcdata/docker-compose.yml
networks:
shared:
name: shared
external: true
services:
btcprice:
build: .
restart: unless-stopped
networks:
- shared
ports:
- "4041:4040"
environment:
BTCDATA_URL: "http://btcdata:${DOCKER_BTCDATA_PORT:-4102}"