question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[suggestion] how about using docker for querydsl test environment?

See original GitHub issue

In 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jwgmeligmeylingcommented, Jun 26, 2020

Ah here it is: https://github.com/querydsl/querydsl/blob/master/travis/docker-compose.yml

I guess we could mention it in the README

1reaction
johnktimscommented, Jun 26, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found