#2261·unstract

fix(docker): docker-compose-dev-essentials.yaml uses a different network when run standalone

Author: NKchinmayananduCreated Aug 31, 2026Updated Aug 31, 2026
Labelsbug

Description

docker-compose-dev-essentials.yaml does not declare a network, while docker-compose.yaml explicitly names its default network unstract-network.

As a result, running the essentials compose file standalone creates a docker_default network:

bash
docker compose -f docker-compose-dev-essentials.yaml up -d db

The same db service under the full compose configuration uses:

unstract-network

This is inconsistent with the networking configuration inside the essentials file itself, where Traefik is explicitly configured with:

--providers.docker.network=unstract-network

Reproduction

From the docker/ directory:

bash
docker compose -f docker-compose-dev-essentials.yaml up -d db

docker inspect unstract-db --format \
'NetworkMode={{.HostConfig.NetworkMode}} Networks={{json .NetworkSettings.Networks}}'