Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Add Java 11 & MariaDB Definition #1285

Closed
wants to merge 5 commits into from
Closed

Add Java 11 & MariaDB Definition #1285

wants to merge 5 commits into from

Conversation

elaine-jackson
Copy link

This pull request adds a Java 11 & MariaDB Definition. It is adapted from #292 (which was made for PHP) and works similarly.

This was tested with a private Java 11 Spring Boot Application with no modifications necessary. As long as you have the MariaDB Driver and pull MYSQL_HOST as the environment variable for your hostname this should work out of the box.

I appreciate any feedback maintainers are able to give me.

@ghost
Copy link

ghost commented Jan 31, 2022

CLA assistant check
All CLA requirements met.

We set the hostname out of necessity as commonly development configurations reference MySQL running on localhost. It might be nice to include other variables for an application server to pickup. So I added commonly used MYSQL_{USER,PASSWORD,DATABASE}. Should we also include one for the port or assume most applications in development mode comply with TCP:3306?
This is to provide developers flexibility in situations where they have MySQL already running on their local machine bound to port 3306.
@elaine-jackson
Copy link
Author

I setup port options for developers who want to change the port (e.g. if they run MySQL locally). Should we expose MySQL to the system by default? I think it's useful for developers who have tools such as JetBrains Datagrip installed to have an easy way to connect to the Dockerized MySQL installation but is this a bad practice (e.g. should we keep it commented out by default)

@bamurtaugh
Copy link
Member

Thanks for opening this PR!

As a heads up, our team has been actively focused on an updated plan for community contributions and this repo moving forward, which we've now outlined in this issue: #1589. This includes moving to a couple new repos for images (https://github.com/devcontainers/images) and Features (https://github.com/devcontainers/features).

We anticipate to have a similar repo and distribution process for templates/definitions. We'll keep everyone updated (likely via another issue in this repo or comment on #1589) when our new templates repo is available and the process is defined.

Please let me know if you have any questions, thank you!

@elaine-jackson elaine-jackson closed this by deleting the head repository May 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants