We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
npx typeorm --init docker
Docker image that generated by TypeORM CLI is old.
example:
version: '3' services: postgres: image: "postgres:9.6.1" ports: - "5432:5432" environment: POSTGRES_USER: "test" POSTGRES_PASSWORD: "test" POSTGRES_DB: "test"
I think image: "postgres:9.6.1" is old. So I want to update.
image: "postgres:9.6.1"
Update getDockerComposeTemplate() to use latest.
getDockerComposeTemplate()
latest
https://github.com/typeorm/typeorm/blob/master/src/commands/InitCommand.ts#L521
aurora-mysql
aurora-postgres
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
spanner
sqlite
sqlite-abstract
sqljs
sqlserver
The text was updated successfully, but these errors were encountered:
Update db versions in docker compose template
88c2798
Fixes typeorm#9326
feat: update db image versions in docker compose
38f64f2
closes typeorm#9326
feat: update db image versions in docker compose (#9367)
f24b262
* feat: update db image versions in docker compose closes #9326 * Fix postgres version * Upgrade Docker compose versions * Fix docker compose version
Successfully merging a pull request may close this issue.
Feature Description
The Problem
Docker image that generated by TypeORM CLI is old.
example:
npx typeorm --init docker
I think
image: "postgres:9.6.1"
is old. So I want to update.The Solution
Update
getDockerComposeTemplate()
to uselatest
.https://github.com/typeorm/typeorm/blob/master/src/commands/InitCommand.ts#L521
Considered Alternatives
Additional Context
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?
The text was updated successfully, but these errors were encountered: