host mode breaks name resolution of containers

This commit is contained in:
Michael Shaw 2023-01-26 18:44:32 -05:00
parent fb29cc26b2
commit fa948ec9c2

View File

@ -5,7 +5,6 @@ services:
command: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"] command: ["sh", "/docker-entrypoint-scripts.d/create-fixturenet.sh"]
volumes: volumes:
- ../../init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh - ../../init.sh:/docker-entrypoint-scripts.d/create-fixturenet.sh
network_mode: "host"
healthcheck: healthcheck:
test: ["CMD", "curl", "-v", "http://127.0.0.1:6060"] test: ["CMD", "curl", "-v", "http://127.0.0.1:6060"]
interval: 1s interval: 1s
@ -27,5 +26,4 @@ services:
depends_on: depends_on:
laconicd: laconicd:
condition: service_healthy condition: service_healthy
network_mode: "host"
command: tail -F /dev/null command: tail -F /dev/null