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

How can I debug erlang rebar3 shell not working? #98

Closed
carlotm opened this issue Oct 26, 2023 · 3 comments
Closed

How can I debug erlang rebar3 shell not working? #98

carlotm opened this issue Oct 26, 2023 · 3 comments

Comments

@carlotm
Copy link

carlotm commented Oct 26, 2023

Hi all,
one of the processes I am trying to execute doesn't work in process-compose.
What can I do to find the cause?

The command I am trying to run is rebar3 shell
If I run it from the command line it works correctly, If I run it using process-compose I got this error:

Screenshot_2023-10-26_16-38-10

My process-compose file is:

version: "0.5"

processes:
  frontend:
    command: "devbox run frontend:build"
  postgresql:
    command: "pg_ctl start -o \"-k $PGHOST\""
    is_daemon: true
    readiness_probe:
      exec:
        command: pg_isready
    shutdown:
      command: "pg_ctl stop -m fast"
    availability:
      restart: "always"
  db_init:
    command: "[ -f .db.done ] || devbox run db"
    depends_on:
      postgresql:
        condition: process_healthy
  rebar_shell:
    command: "rebar3 shell"
    is_daemon: true
    availability:
      restart: "always"
    dedens_on:
      db_init:
        condition: process_completed
      postgresql:
        condition: process_healthy
@thenonameguy
Copy link
Contributor

Duplicate of #64

@carlotm
Copy link
Author

carlotm commented Oct 27, 2023

Ok, will follow that then.
Thanks

@carlotm carlotm closed this as completed Oct 27, 2023
@thenonameguy
Copy link
Contributor

Cheers. FYI, you have a typo in your YAML: dedends_on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants