[GH-ISSUE #186] Developer Quickstart Docker Compose not executed #52

Closed
opened 2026-02-26 18:45:09 +03:00 by kerem · 1 comment
Owner

Originally created by @david-loe on GitHub (Jun 2, 2023).
Original GitHub issue: https://github.com/documenso/documenso/issues/186

When running npm run d the docker compose command is not executed.

...
> documenso-monorepo@0.0.0 docker:compose-up
> npm run docker:compose -- up -d


> documenso-monorepo@0.0.0 docker:compose
> docker compose -f ./docker/compose-without-app.yml || docker-compose -f ./docker/compose-without-app.yml up -d


Usage:  docker compose [OPTIONS] COMMAND

Docker Compose

Options:
      --ansi string                Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
      --compatibility              Run compose in backward compatibility mode
...

Full Log:

user@machine:~/projects/documenso$ nvm use 18
Now using node v18.16.0 (npm v9.5.1)
user@machine:~/projects/documenso$ npm run d

> documenso-monorepo@0.0.0 d
> npm install && run-s docker:compose-up db-migrate:dev && npm run db-seed && npm run dev


up to date, audited 703 packages in 3s

129 packages are looking for funding
  run `npm fund` for details

4 moderate severity vulnerabilities

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

> documenso-monorepo@0.0.0 docker:compose-up
> npm run docker:compose -- up -d


> documenso-monorepo@0.0.0 docker:compose
> docker compose -f ./docker/compose-without-app.yml || docker-compose -f ./docker/compose-without-app.yml up -d


Usage:  docker compose [OPTIONS] COMMAND

Docker Compose

Options:
      --ansi string                Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
      --compatibility              Run compose in backward compatibility mode
      --env-file stringArray       Specify an alternate environment file.
  -f, --file stringArray           Compose configuration files
      --parallel int               Control max parallelism, -1 for unlimited (default -1)
      --profile stringArray        Specify a profile to enable
      --project-directory string   Specify an alternate working directory
                                   (default: the path of the, first specified, Compose file)
  -p, --project-name string        Project name

Commands:
  build       Build or rebuild services
  config      Parse, resolve and render compose file in canonical format
  cp          Copy files/folders between a service container and the local filesystem
  create      Creates containers for a service.
  down        Stop and remove containers, networks
  events      Receive real time events from containers.
  exec        Execute a command in a running container.
  images      List images used by the created containers
  kill        Force stop service containers.
  logs        View output from containers
  ls          List running compose projects
  pause       Pause services
  port        Print the public port for a port binding.
  ps          List containers
  pull        Pull service images
  push        Push service images
  restart     Restart service containers
  rm          Removes stopped service containers
  run         Run a one-off command on a service.
  start       Start services
  stop        Stop services
  top         Display the running processes
  unpause     Unpause services
  up          Create and start containers
  version     Show the Docker Compose version information

Run 'docker compose COMMAND --help' for more information on a command.

> documenso-monorepo@0.0.0 db-migrate:dev
> prisma migrate dev

Environment variables loaded from .env
Prisma schema loaded from packages/prisma/schema.prisma
Datasource "db": PostgreSQL database "documenso", schema "public" at "127.0.0.1:54320"

Error: P1001: Can't reach database server at `127.0.0.1`:`54320`

Please make sure your database server is running at `127.0.0.1`:`54320`.
ERROR: "db-migrate:dev" exited with 1.
Originally created by @david-loe on GitHub (Jun 2, 2023). Original GitHub issue: https://github.com/documenso/documenso/issues/186 When running `npm run d` the docker compose command is not executed. ``` ... > documenso-monorepo@0.0.0 docker:compose-up > npm run docker:compose -- up -d > documenso-monorepo@0.0.0 docker:compose > docker compose -f ./docker/compose-without-app.yml || docker-compose -f ./docker/compose-without-app.yml up -d Usage: docker compose [OPTIONS] COMMAND Docker Compose Options: --ansi string Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto") --compatibility Run compose in backward compatibility mode ... ``` Full Log: ``` user@machine:~/projects/documenso$ nvm use 18 Now using node v18.16.0 (npm v9.5.1) user@machine:~/projects/documenso$ npm run d > documenso-monorepo@0.0.0 d > npm install && run-s docker:compose-up db-migrate:dev && npm run db-seed && npm run dev up to date, audited 703 packages in 3s 129 packages are looking for funding run `npm fund` for details 4 moderate severity vulnerabilities Some issues need review, and may require choosing a different dependency. Run `npm audit` for details. > documenso-monorepo@0.0.0 docker:compose-up > npm run docker:compose -- up -d > documenso-monorepo@0.0.0 docker:compose > docker compose -f ./docker/compose-without-app.yml || docker-compose -f ./docker/compose-without-app.yml up -d Usage: docker compose [OPTIONS] COMMAND Docker Compose Options: --ansi string Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto") --compatibility Run compose in backward compatibility mode --env-file stringArray Specify an alternate environment file. -f, --file stringArray Compose configuration files --parallel int Control max parallelism, -1 for unlimited (default -1) --profile stringArray Specify a profile to enable --project-directory string Specify an alternate working directory (default: the path of the, first specified, Compose file) -p, --project-name string Project name Commands: build Build or rebuild services config Parse, resolve and render compose file in canonical format cp Copy files/folders between a service container and the local filesystem create Creates containers for a service. down Stop and remove containers, networks events Receive real time events from containers. exec Execute a command in a running container. images List images used by the created containers kill Force stop service containers. logs View output from containers ls List running compose projects pause Pause services port Print the public port for a port binding. ps List containers pull Pull service images push Push service images restart Restart service containers rm Removes stopped service containers run Run a one-off command on a service. start Start services stop Stop services top Display the running processes unpause Unpause services up Create and start containers version Show the Docker Compose version information Run 'docker compose COMMAND --help' for more information on a command. > documenso-monorepo@0.0.0 db-migrate:dev > prisma migrate dev Environment variables loaded from .env Prisma schema loaded from packages/prisma/schema.prisma Datasource "db": PostgreSQL database "documenso", schema "public" at "127.0.0.1:54320" Error: P1001: Can't reach database server at `127.0.0.1`:`54320` Please make sure your database server is running at `127.0.0.1`:`54320`. ERROR: "db-migrate:dev" exited with 1. ```
kerem closed this issue 2026-02-26 18:45:09 +03:00
Author
Owner

@david-loe commented on GitHub (Jun 2, 2023):

Will be closed by #184

<!-- gh-comment-id:1573350931 --> @david-loe commented on GitHub (Jun 2, 2023): Will be closed by #184
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#52
No description provided.