mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
feat: update db image versions in docker compose (#9367)
* feat: update db image versions in docker compose closes #9326 * Fix postgres version * Upgrade Docker compose versions * Fix docker compose version
This commit is contained in:
parent
f943e61be9
commit
f24b26202b
@ -1,6 +1,5 @@
|
||||
version: "3"
|
||||
services:
|
||||
|
||||
# mysql
|
||||
mysql:
|
||||
image: "mysql:5.7.37"
|
||||
@ -13,23 +12,9 @@ services:
|
||||
MYSQL_PASSWORD: "test"
|
||||
MYSQL_DATABASE: "test"
|
||||
|
||||
# mysql v8
|
||||
# mysql8:
|
||||
# image: "mysql:8"
|
||||
# container_name: "typeorm-mysql8"
|
||||
# ports:
|
||||
# - "3308:3306"
|
||||
# environment:
|
||||
# MYSQL_ROOT_PASSWORD: "admin"
|
||||
# MYSQL_USER: "test"
|
||||
# MYSQL_PASSWORD: "test"
|
||||
# MYSQL_DATABASE: "test"
|
||||
# volumes:
|
||||
# - mysql8_volume:/var/lib/mysql
|
||||
|
||||
# mariadb
|
||||
mariadb:
|
||||
image: "mariadb:10.5.13"
|
||||
image: "mariadb:10.8.4"
|
||||
container_name: "typeorm-mariadb"
|
||||
ports:
|
||||
- "3307:3306"
|
||||
@ -44,7 +29,7 @@ services:
|
||||
# mdillon/postgis is postgres + PostGIS (only). if you need additional
|
||||
# extensions, it's probably time to create a purpose-built image with all
|
||||
# necessary extensions. sorry, and thanks for adding support for them!
|
||||
image: "mdillon/postgis:9.6"
|
||||
image: "postgis/postgis:14-3.3"
|
||||
container_name: "typeorm-postgres"
|
||||
ports:
|
||||
- "5432:5432"
|
||||
@ -78,7 +63,7 @@ services:
|
||||
|
||||
# cockroachdb
|
||||
cockroachdb:
|
||||
image: "cockroachdb/cockroach:latest-v21.1"
|
||||
image: "cockroachdb/cockroach:v22.1.6"
|
||||
container_name: "typeorm-cockroachdb"
|
||||
command: start-single-node --insecure --cache=.25 --store=type=mem,size=.25 --logtostderr=NONE --log-dir=""
|
||||
ports:
|
||||
@ -131,7 +116,7 @@ services:
|
||||
|
||||
# mongodb
|
||||
mongodb:
|
||||
image: "mongo:5.0.6"
|
||||
image: "mongo:5.0.12"
|
||||
container_name: "typeorm-mongodb"
|
||||
ports:
|
||||
- "27017:27017"
|
||||
|
||||
@ -525,7 +525,7 @@ AppDataSource.initialize().then(async () => {
|
||||
services:
|
||||
|
||||
mysql:
|
||||
image: "mysql:5.7.10"
|
||||
image: "mysql:8.0.30"
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
@ -540,7 +540,7 @@ services:
|
||||
services:
|
||||
|
||||
mariadb:
|
||||
image: "mariadb:10.1.16"
|
||||
image: "mariadb:10.8.4"
|
||||
ports:
|
||||
- "3306:3306"
|
||||
environment:
|
||||
@ -555,7 +555,7 @@ services:
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: "postgres:9.6.1"
|
||||
image: "postgres:14.5"
|
||||
ports:
|
||||
- "5432:5432"
|
||||
environment:
|
||||
@ -569,7 +569,7 @@ services:
|
||||
services:
|
||||
|
||||
cockroachdb:
|
||||
image: "cockroachdb/cockroach:v2.1.4"
|
||||
image: "cockroachdb/cockroach:v22.1.6"
|
||||
command: start --insecure
|
||||
ports:
|
||||
- "26257:26257"
|
||||
@ -603,7 +603,7 @@ services:
|
||||
services:
|
||||
|
||||
mongodb:
|
||||
image: "mongo:4.0.6"
|
||||
image: "mongo:5.0.12"
|
||||
container_name: "typeorm-mongodb"
|
||||
ports:
|
||||
- "27017:27017"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user