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