Repository navigation
Closed
Labels
apidatabasedependenciesdockerdocumentationImprovements or additions to documentationenhancementBuild on top of an already existing feature to mke it better.
Description
Problem
docker-compose.yml is saturated with the old brand identity across service names, container names, network definitions, and environment variable defaults:
| Element | Current Value |
|---|---|
| Service name | unraveldocs-api |
| Container name | unraveldocs-api |
POSTGRES_DB default |
unraveldocs |
| Postgres healthcheck DB | unraveldocs |
Elasticsearch cluster.name |
unraveldocs-cluster |
Elasticsearch node.name |
unraveldocs-node |
| Docker network | unraveldocs-net |
This means docker-compose up starts a container named unraveldocs-api, connects to a database named unraveldocs, and registers an Elasticsearch cluster named unraveldocs-cluster. All three contradict the new brand.
Proposed Solution
Replace all occurrences with xtraction equivalents throughout docker-compose.yml.
User Stories
- As a developer running the local stack, I want Docker container names, network names, and service identifiers to reflect
xtractionso I can easily identify running services. - As a DevOps engineer, I want Elasticsearch cluster and node names to use the new brand for correct identification in monitoring tools like Kibana and Datadog.
Acceptance Criteria
- Service name is
xtraction-api - Container name is
xtraction-api -
POSTGRES_DBdefault isxtraction - Postgres healthcheck references
xtractionDB - Elasticsearch
cluster.name=xtraction-cluster - Elasticsearch
node.name=xtraction-node - Docker network is
xtraction-net -
grep -i "unraveldocs" docker-compose.ymlreturns zero results -
docker-compose up -dstarts all services cleanly
Proposed Technical Details
# Before
services:
unraveldocs-api:
container_name: unraveldocs-api
...
networks:
unraveldocs-net:
# After
services:
xtraction-api:
container_name: xtraction-api
...
networks:
xtraction-net:Each service's networks reference must also be updated from unraveldocs-net to xtraction-net.
Tasks
- Rename service
unraveldocs-api→xtraction-api - Update
container_name→xtraction-api - Update
POSTGRES_DBdefault →xtraction - Update Postgres healthcheck DB name
- Update Elasticsearch
cluster.nameandnode.name - Rename network
unraveldocs-net→xtraction-net - Update all
networks:references in every service block - Run
docker-compose up -dand verify all containers start - Run
docker psand confirm container names
Open Questions / Considerations
- Existing Docker volumes (e.g.,
postgres_data) may contain data from theunraveldocsdatabase. Developers running persistent volumes need to either drop and recreate them or run a database rename. Add a migration note to the PR description.
Metadata
Metadata
Assignees
Labels
apidatabasedependenciesdockerdocumentationImprovements or additions to documentationenhancementBuild on top of an already existing feature to mke it better.
Activity