fix(contrib/drivers/pgsql): incompatible placeholder replacement with old version (#4036)

This commit is contained in:
John Guo
2024-12-13 09:29:34 +08:00
committed by GitHub
parent 5af342adc3
commit ced4b57991
6 changed files with 71 additions and 25 deletions

View File

@ -20,7 +20,7 @@ services:
#APOLLO_PORTAL_DB_PASSWORD: 'apollo'
apollo-db:
image: "loads/mysql:5.7"
image: "mysql:5.7"
container_name: apollo-db
environment:
TZ: Asia/Shanghai
@ -36,7 +36,7 @@ services:
- apollo-dbdata
apollo-dbdata:
image: "loads/alpine:3.8"
image: "alpine:3.8"
container_name: apollo-dbdata
volumes:
- /var/lib/mysql

View File

@ -37,9 +37,9 @@ jobs:
# Service containers to run with `code-test`
services:
# Etcd service.
# docker run -d --name etcd -p 2379:2379 -e ALLOW_NONE_AUTHENTICATION=yes loads/etcd:3.4.24
# docker run -d --name etcd -p 2379:2379 -e ALLOW_NONE_AUTHENTICATION=yes bitnami/etcd:3.4.24
etcd:
image: loads/etcd:3.4.24
image: bitnami/etcd:3.4.24
env:
ALLOW_NONE_AUTHENTICATION: yes
ports:
@ -47,7 +47,7 @@ jobs:
# Redis backend server.
redis:
image : loads/redis:7.0
image : redis:7.0
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
@ -62,9 +62,9 @@ jobs:
# -p 3306:3306 \
# -e MYSQL_DATABASE=test \
# -e MYSQL_ROOT_PASSWORD=12345678 \
# loads/mysql:5.7
# mysql:5.7
mysql:
image: loads/mysql:5.7
image: mysql:5.7
env:
MYSQL_DATABASE : test
MYSQL_ROOT_PASSWORD: 12345678
@ -73,7 +73,7 @@ jobs:
# MariaDb backend server.
mariadb:
image: loads/mariadb:10.4
image: mariadb:10.4
env:
MARIADB_DATABASE: test
MARIADB_ROOT_PASSWORD: 12345678
@ -87,9 +87,9 @@ jobs:
# -e POSTGRES_USER=postgres \
# -e POSTGRES_DB=test \
# -v postgres:/Users/john/Temp/postgresql/data \
# loads/postgres:13
# postgres:17-alpine
postgres:
image: loads/postgres:13
image: postgres:17-alpine
env:
POSTGRES_PASSWORD: 12345678
POSTGRES_USER: postgres
@ -184,7 +184,7 @@ jobs:
- 5236:5236
zookeeper:
image: loads/zookeeper:3.8
image: zookeeper:3.8
ports:
- 2181:2181

View File

@ -2,7 +2,7 @@ version: "3.8"
services:
nacos:
image: loads/nacos-server:v2.1.2
image: nacos/nacos-server:v2.1.2
container_name: nacos
env_file:
- ./env/nacos.env