Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

docker-compose not working

Abierto
#17 1 comentario 2 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker, docker-compose

Línea de trabajo

Start by running docker compose up --build from the repository root and inspect docker-compose.yml and the OpenTelemetry collector's Dockerfile, which copies collector-config.yaml. Check the README.md for the documented setup and .env requirement. Done means the documented setup builds and starts without the dependency-cycle or missing-file errors.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi,

I cloned the repo and launch the docker-compose command : docker compose up --build.
There was an error :

dependency cycle detected: api -> otel-collector -> api

I tried to modify the docker-compose.yml to remove the depends_on part from the otel-collector section.
Now there is an other error :

[+] Building 4.9s (16/16) FINISHED
 => [internal] load local bake definitions                             0.0s
 => => reading from stdin 2.34kB                                       0.0s
 => [ingest internal] load build definition from Dockerfile            0.1s
 => => transferring dockerfile: 453B                                   0.0s
 => [alerting internal] load build definition from Dockerfile          0.1s
 => => transferring dockerfile: 706B                                   0.0s
 => [api internal] load build definition from Dockerfile               0.1s
 => => transferring dockerfile: 722B                                   0.0s
 => [web internal] load build definition from Dockerfile               0.1s
 => => transferring dockerfile: 910B                                   0.0s
 => [otel-collector internal] load build definition from Dockerfile    0.1s
 => => transferring dockerfile: 211B                                   0.0s
 => [otel-collector internal] load metadata for docker.io/otel/opente  4.6s
 => [ingest internal] load metadata for docker.io/library/debian:book  3.1s
 => CANCELED [ingest internal] load metadata for docker.io/library/ru  4.7s
 => CANCELED [api internal] load metadata for docker.io/oven/bun:1.3.  4.7s
 => CANCELED [api internal] load metadata for docker.io/oven/bun:1.3.  4.7s
 => CANCELED [web internal] load metadata for docker.io/library/nginx  4.7s
 => [otel-collector internal] load .dockerignore                       0.0s
 => => transferring context: 213B                                      0.0s
 => [otel-collector internal] load build context                       0.0s
 => => transferring context: 2B                                        0.0s
 => CANCELED [otel-collector 1/2] FROM docker.io/otel/opentelemetry-c  0.0s
 => => resolve docker.io/otel/opentelemetry-collector-contrib:latest@  0.0s
 => ERROR [otel-collector 2/2] COPY collector-config.yaml /etc/otelco  0.0s
------
 [otel-collector 2/2] COPY collector-config.yaml /etc/otelcol/config.yaml:
------
> [+] up 0/5
 ⠙ Image maple-ingest         Building                                  4.9s
 ⠙ Image maple-alerting       Building                                  4.9s
 ⠙ Image maple-otel-collector Building                                  4.9s
 ⠙ Image maple-api            Building                                  4.9s
 ⠙ Image maple-web            Building                                  4.9s
Dockerfile:3

--------------------

   1 |     FROM otel/opentelemetry-collector-contrib:latest

   2 |

   3 | >>> COPY collector-config.yaml /etc/otelcol/config.yaml

   4 |

   5 |     EXPOSE 4317 4318 13133

--------------------

target otel-collector: failed to solve: failed to compute cache key: failed to calculate checksum of ref 3dkmvr904madb6y0ghi0jychg::pewwuqyot6f4vv7khevxw0682: "/collector-config.yaml": not found

Seems like files are missing.

Also I add to create an empty .env file in the root folder, else it wouldn't start docker-compose.
(This is not indicated in the README.md)

I did not push the tests further.

Lenguaje dominante
TypeScript
Estrellas
1.8k
Forks
120
Merge medio
8 h 11 min
PR fusionados (30 d)
667

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MapleTechLabs/maple

Todos los issues de MapleTechLabs/maple

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.