Commit Graph
14 Commits
Author SHA1 Message Date
P0nk 90687007f5 Rework Docker support
- Use multi-stage build for the application image
- Utilize connection pool init timeout for waiting on database container startup,
"docker-compose-wait" dependency is no longer required
- Override database host through environment variable - used in docker-compose
- Rename database scripts for explicit ordering (db container loads them alphabetically)
2021-04-03 14:59:37 +02:00
P0nk 8b7e989fed Use native way for connection pool init timeout 2021-04-02 20:16:57 +02:00
P0nk 08a0407417 Explicitly set scrolling mode where ResultSet is used for scrolling 2021-04-02 16:41:44 +02:00
P0nk 754ab67de7 Change default birthday and tempban to fix conversion issue
ResultSet#getLong on a timestamp field is not allowed
2021-04-02 16:12:57 +02:00
P0nk 7169a74e94 Make connection pool init timeout configurable 2021-04-02 15:14:55 +02:00
P0nk 45331d17b0 Set up connection pool and enforce usage of it
Attempt to initialize connection pool on startup until a timeout.
2021-04-02 14:20:45 +02:00
P0nk 05bd668cc2 Upgrade to MySQL 8
Workaround for exception thrown by ResultSet#beforeFirst():
"Operation not allowed for a result set of type ResultSet.TYPE_FORWARD_ONLY"
2021-04-02 14:09:49 +02:00
P0nk 2873d0d031 Update database credentials 2021-04-02 13:52:44 +02:00
P0nk 7b61dc3d58 Update README with download links 2021-04-01 16:27:31 +02:00
P0nk 8a3db29b02 Fix launch.bat
- Use latest Java 8 version
- Target the artifact produced by Maven
2021-04-01 07:36:33 +02:00
P0nk e8fd11c08c Build jar with maven "package" lifecycle 2021-03-31 22:07:49 +02:00
P0nk 6583337f48 Clean up NetBeans files and dependencies 2021-03-30 22:48:51 +02:00
P0nk 4fae148e35 Move dependencies to pom 2021-03-30 22:14:57 +02:00
P0nk 813643036b Switch to Maven file structure 2021-03-30 21:56:34 +02:00