# Conflicts: # generator/template/model_template.go # generator/template/sql_builder_template.go # internal/jet/expression.go # postgres/cast.go # postgres/columns.go # postgres/expressions.go # postgres/insert_statement_test.go # postgres/literal.go # tests/postgres/alltypes_test.go # tests/postgres/generator_template_test.go # tests/postgres/scan_test.go # tests/postgres/select_test.go
51 lines
1.3 KiB
YAML
51 lines
1.3 KiB
YAML
services:
|
|
postgres:
|
|
image: postgres:14.1
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=jet
|
|
- POSTGRES_PASSWORD=jet
|
|
- POSTGRES_DB=jetdb
|
|
ports:
|
|
- '50901:5432'
|
|
volumes:
|
|
- ./testdata/init/postgres:/docker-entrypoint-initdb.d
|
|
|
|
mysql:
|
|
image: mysql/mysql-server:8.0.27
|
|
command: ['--default-authentication-plugin=mysql_native_password', '--log_bin_trust_function_creators=1']
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: jet
|
|
MYSQL_USER: jet
|
|
MYSQL_PASSWORD: jet
|
|
ports:
|
|
- '50902:3306'
|
|
volumes:
|
|
- ./testdata/init/mysql:/docker-entrypoint-initdb.d
|
|
|
|
mariadb:
|
|
image: mariadb:11.4
|
|
command: ['--default-authentication-plugin=mysql_native_password', '--log_bin_trust_function_creators=1']
|
|
restart: always
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: jet
|
|
MYSQL_USER: jet
|
|
MYSQL_PASSWORD: jet
|
|
ports:
|
|
- '50903:3306'
|
|
volumes:
|
|
- ./testdata/init/mysql:/docker-entrypoint-initdb.d
|
|
|
|
cockroach:
|
|
image: cockroachdb/cockroach-unstable:v23.1.0-rc.2
|
|
environment:
|
|
- COCKROACH_USER=jet
|
|
- COCKROACH_PASSWORD=jet
|
|
- COCKROACH_DATABASE=jetdb
|
|
ports:
|
|
- "26257:26257"
|
|
command: start-single-node --accept-sql-without-tls
|
|
# volumes:
|
|
# - ./testdata/init/cockroach:/docker-entrypoint-initdb.d
|
|
|