[suggestion] how about using docker for querydsl test environment?
See original GitHub issueIn the current querydsl test environment, vagrant is used.
This environment is good, but it requires a number of pre-requisites. (VirtualBox, Puppet, Vagrant…)
If we provide various databases as docker compose, wouldn’t it be simpler to build a test environment?
for example,
version: '2'
services:
mysql:
image: mysql:5.5
environment:
MYSQL_USER: querydsl
MYSQL_PASSWORD: querydsl
MYSQL_DATABASE: querydsl
MYSQL_ROOT_PASSWORD: querydsl
volumes:
- /var/lib/mysql
ports:
- "3306:3306"
postgre-sql:
image: postgres:9.1
ports:
- "5433:5432"
environment:
POSTGRES_USER: querydsl
POSTGRES_PASSWORD: querydsl
POSTGRES_DATABASE: querydsl
POSTGRES_ROOT_PASSWORD: querydsl
volumes:
- /var/lib/postgresql/data
.
.
.
(Other necessary database environments...)
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Building a Full-Text Search App Using Docker and Elasticsearch
Adding fast, flexible, and accurate full-text search to apps can be a challenge. In this tutorial, we'll walk through setting up a full-text ......
Read more >Install Elasticsearch with Docker - Elastic
... Elasticsearch with .zip on Windows · Install Elasticsearch with Debian Package · Install Elasticsearch with RPM · Install Elasticsearch with Docker.
Read more >Queryng With In Clause And Static Values #2926 - GitHub
This is not really a bug, is just improper use of QueryDSL's internal list expressions for tuples. The template for list is simply...
Read more >how do I run querydsl project tests on an M1 Mac?
I was able to get this to work by adding platform: "linux/x86_64" to the docker-compose.yml file under each section.
Read more >Spring Boot + Testcontainers + DbRider + P6spy = Testing ...
The best practice is to keep the test environment as similar to the production environment as possible. So we will use the same...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah here it is: https://github.com/querydsl/querydsl/blob/master/travis/docker-compose.yml
I guess we could mention it in the README
I’ve been meaning to update the readme and move the
docker-compose.yml
file to the root of the project. Thanks for the reminder.