Skip to content

Commit 699d3a5

Browse files
committed
Include Quarkus Flyway plugin
1 parent c37702e commit 699d3a5

File tree

69 files changed

+165
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+165
-164
lines changed

.gitignore

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,40 @@
1+
#Maven
2+
target/
3+
pom.xml.tag
4+
pom.xml.releaseBackup
5+
pom.xml.versionsBackup
6+
release.properties
7+
.flattened-pom.xml
8+
9+
# Eclipse
10+
.project
11+
.classpath
12+
.settings/
13+
bin/
14+
15+
# IntelliJ
116
.idea
2-
.DS_Store
17+
*.ipr
18+
*.iml
19+
*.iws
20+
21+
# NetBeans
22+
nb-configuration.xml
23+
24+
# Visual Studio Code
25+
.vscode
26+
.factorypath
27+
28+
# OSX
29+
.DS_Store
30+
31+
# Vim
32+
*.swp
33+
*.swo
34+
35+
# patch
36+
*.orig
37+
*.rej
38+
39+
# Local environment
40+
.env

.mvn/wrapper/maven-wrapper.jar

58.5 KB
Binary file not shown.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.6/apache-maven-3.8.6-bin.zip
18+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.1.1/maven-wrapper-3.1.1.jar

README.md

Lines changed: 52 additions & 4 deletions

database/flyway/flyway.config

Lines changed: 0 additions & 8 deletions
This file was deleted.

docker-compose-dev.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

infra/docker-compose-dev.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: "3.9"
2+
services:
3+
db:
4+
image: postgres:15.1
5+
environment:
6+
- POSTGRES_USER=postgres
7+
- POSTGRES_PASSWORD=postgres
8+
- POSTGRES_DB=leaderboards
9+
ports:
10+
- '5432:5432'
11+
volumes:
12+
- dbdata:/data
13+
keycloak:
14+
image: jboss/keycloak:16.1.1
15+
container_name: keycloak
16+
environment:
17+
DB_VENDOR: H2
18+
KEYCLOAK_USER: admin
19+
KEYCLOAK_PASSWORD: admin
20+
KEYCLOAK_IMPORT: "/opt/jboss/keycloak/realm-config/quarkus-realm.json"
21+
volumes:
22+
- ./keycloak:/opt/jboss/keycloak/realm-config
23+
ports:
24+
- "8081:8080"
25+
volumes:
26+
dbdata:
27+
appdata:

docker-compose.yml renamed to infra/docker-compose.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,6 @@ services:
1111
volumes:
1212
- dbdata:/data
1313

14-
flyway:
15-
image: flyway/flyway:9.10.2
16-
command: -configFiles=/flyway/conf/flyway.config -connectRetries=60 migrate info
17-
depends_on:
18-
- db
19-
volumes:
20-
- ./database/scripts:/flyway/scripts
21-
- ./database/flyway/flyway.config:/flyway/conf/flyway.config
22-
2314
leaderboard:
2415
image: lunatech-leaderboards-leaderboard:latest
2516
depends_on:
File renamed without changes.

leaderboard.iml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module version="4">
3+
<component name="Quarkus Tools">
4+
<option name="hash" value="-1943172620" />
5+
<option name="version" value="1" />
6+
</component>
7+
</module>

0 commit comments

Comments
 (0)