Skip to content

Commit b70ac93

Browse files
authored
chore(docker): bump PostgreSQL to 18.1 and MySQL to 8.4.10 (apache#9003)
Bump database engine images across the dev, devcontainer, temporal deployment and remote e2e compose files: PostgreSQL 17.2/14.2 to 18.1 and MySQL 8/8.0.26 to 8.4.10. For PostgreSQL 18 the remote e2e volume is mounted at /var/lib/postgresql (parent of the new versioned data dir) instead of /var/lib/postgresql/data, and the Grafana datasource provisioning sets postgresVersion to 1800. Grafana database env parametrization is intentionally out of scope. Signed-off-by: DoDiODev <DoDiDev@proton.me>
1 parent 9e8ca1b commit b70ac93

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

.devcontainer/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
- default
2525
command: sleep infinity
2626
mysql:
27-
image: mysql:8
27+
image: mysql:8.4.10
2828
volumes:
2929
- mysql-storage:/var/lib/mysql
3030
restart: always

backend/test/e2e/remote/docker-compose.test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version: "3"
1919
services:
2020

2121
mysql-test:
22-
image: mysql:8.0.26
22+
image: mysql:8.4.10
2323
platform: linux/x86_64
2424
volumes:
2525
- mysql-test-storage:/var/lib/mysql
@@ -33,12 +33,12 @@ services:
3333
MYSQL_PASSWORD: merico
3434

3535
postgres-test:
36-
image: postgres:14.2-alpine
36+
image: postgres:18.1-alpine
3737
restart: always
3838
ports:
3939
- "3308:5432"
4040
volumes:
41-
- postgres-test-storage:/var/lib/postgresql/data
41+
- postgres-test-storage:/var/lib/postgresql
4242
environment:
4343
POSTGRES_DB: lake
4444
POSTGRES_USER: merico

devops/deployment/temporal/docker-compose-temporal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
version: "3"
1717
services:
1818
mysql:
19-
image: mysql:8.0.26
19+
image: mysql:8.4.10
2020
volumes:
2121
- mysql-storage:/var/lib/mysql
2222
restart: always

docker-compose-dev-mysql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ name: devlake-mysql
1818

1919
services:
2020
mysql:
21-
image: mysql:8
21+
image: mysql:8.4.10
2222
volumes:
2323
- mysql-storage:/var/lib/mysql
2424
restart: always

docker-compose-dev-postgresql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
name: devlake-postgresql
1717

1818
services:
19-
postgres:
20-
image: postgres:17.2
19+
postgres:
20+
image: postgres:18.1
2121
volumes:
2222
- postgres-storage:/var/lib/postgresql
2323
restart: always

docker-compose.datasources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ version: "3"
2020
services:
2121

2222
mysql-ds:
23-
image: mysql:8
23+
image: mysql:8.4.10
2424
volumes:
2525
- ./.docker/mysql-ds:/var/lib/mysql
2626
# init.sql only runs on bootstrap. If you want to manually add the extra databases, run the SQL statements in the init.sql as MySQL root user

grafana/scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ else
204204
},
205205
"jsonData": {
206206
"sslmode": "${SSL_MODE}",
207-
"postgresVersion": 1400,
207+
"postgresVersion": 1800,
208208
"database": "${POSTGRES_DATABASE}"
209209
},
210210
"access": "proxy",

0 commit comments

Comments
 (0)