Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when cloning and running docker-compose build #350

Open
DinisCruz opened this issue Nov 17, 2024 · 5 comments
Open

Error when cloning and running docker-compose build #350

DinisCruz opened this issue Nov 17, 2024 · 5 comments
Labels

Comments

@DinisCruz
Copy link

DinisCruz commented Nov 17, 2024

Hi, I was trying to run Langtrace locally and got this error when doing docker compose build

services.langtrace-app.depends_on.postgres-db Additional property required is not allowed
@DinisCruz DinisCruz changed the title b Error when cloning and running docker-compose build Nov 17, 2024
@alizenhom
Copy link
Collaborator

Hey @DinisCruz , apologies for the issue you're facing,
can you try running docker compose up, you should see all services spinning up if not kindly confirm i will be more than happy to help
also do you need the build step for a specific use case?

@DinisCruz
Copy link
Author

ok, to make it work I had to comment these:

    depends_on:
      postgres-db:
        condition: service_started
        #required: true
      clickhouse-db:
        condition: service_healthy
        #required: true

and this

     #start_interval: 5s

I also had this weird error

docker compose up                                          
[+] Running 3/0
 ⠿ Container langtrace-postgres    Created                                                                                                                                                                           0.0s
 ⠿ Container langtrace-clickhouse  Created                                                                                                                                                                           0.0s
 ⠿ Container langtrace             Created                                                                                                                                                                           0.0s
Error response from daemon: Conflict. The container name "/langtrace" is already in use by container "367ca99dc2ad6c63d9cb5241c75b4ae96c9086d7fef39b5b3beec786f1e0b316". You have to remove (or rename) that container to be able to reuse that name.

which was caused by

    restart: on-failure:5

starting the services manually did the trick

image

@DinisCruz
Copy link
Author

one more question: in the UI what does "0 out of 50,000 per month" mean?

is that 50k the limit of this open source version?

@alizenhom
Copy link
Collaborator

alizenhom commented Nov 17, 2024

@DinisCruz mmm, ok i see and i think i have a theory.

if you deleted all previous images and started from scratch everything should work smoothly, kindly if you can try it out and confirm that would be great

regarding the quota - don't worry if you're self-hosting there will be no limits

Copy link

github-actions bot commented Dec 2, 2024

This issue has been automatically marked as stale due to inactivity. It will be closed in 3 days if no further activity occurs.

@github-actions github-actions bot added the stale label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants