Skip to content

docker compose template should not have version attribute #11319

Closed

Description

@assapir

Issue description

when creating a new project with --docker it will emit a warining running the docker compose file

Expected Behavior

warning will not be emitted

Actual Behavior

WARN[0000] /Users/asapir/code/private/typeorm-testing/docker-compose.yml: the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion is emitted

Steps to reproduce

  1. create a new project with npx typeorm init <whatever> --docker
  2. run the docker-compose files - docker compose up -d
  3. a warning emits

My Environment

Dependency Version
Operating System
Node.js version x.y.zzz
Typescript version x.y.zzz
TypeORM version x.y.zzz

Additional Context

No response

Relevant Database Driver(s)

  • aurora-mysql
  • aurora-postgres
  • better-sqlite3
  • cockroachdb
  • cordova
  • expo
  • mongodb
  • mysql
  • nativescript
  • oracle
  • postgres
  • react-native
  • sap
  • spanner
  • sqlite
  • sqlite-abstract
  • sqljs
  • sqlserver

Are you willing to resolve this issue by submitting a Pull Request?

Yes, I have the time, and I know how to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions