-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #222 from Kaktushose/rewrite
Release 3.0.0
- Loading branch information
Showing
140 changed files
with
6,086 additions
and
7,702 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
POSTGRES_DB=database | ||
POSTGRES_USER=user | ||
POSTGRES_PASSWORD=password | ||
POSTGRES_URL=jdbc:postgresql://postgres:5432/database | ||
GF_SECURITY_ADMIN_PASSWORD=password | ||
BOT_GUILD=0123456789 | ||
BOT_TOKEN=bot_token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,37 @@ | ||
### IntelliJ ### | ||
out/ | ||
.idea/ | ||
*.iml | ||
modules.xml | ||
*.ipr | ||
|
||
### Java ### | ||
# Compiled class file | ||
*.class | ||
# Log file | ||
*.log | ||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
### Maven ### | ||
target/ | ||
logs/ | ||
src/main/resources/application.properties | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties | ||
dependency-reduced-pom.xml | ||
*.iml | ||
buildNumber.properties | ||
.mvn/timing.properties | ||
.mvn/wrapper/maven-wrapper.jar | ||
|
||
### Project ### | ||
*.env | ||
/data | ||
/logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM redgate/flyway as flyway | ||
|
||
WORKDIR /flyway | ||
|
||
|
||
FROM maven:3.9.5-amazoncorretto-21-debian AS builder | ||
|
||
WORKDIR /bot | ||
COPY . . | ||
RUN mvn clean package -DskipTests | ||
|
||
FROM openjdk:21 | ||
|
||
COPY --from=flyway /flyway ./flyway | ||
COPY src/main/resources/db/migration ./db/migration | ||
|
||
COPY --from=builder /bot/*.sh . | ||
COPY --from=builder /bot/target/NPLAY-Bot.jar ./NPLAY-Bot.jar | ||
COPY --from=builder /bot/embeds.json . | ||
|
||
RUN chmod +x ./wait-for-it.sh ./entrypoint.sh | ||
|
||
ENTRYPOINT ["./entrypoint.sh"] | ||
CMD ["java", "-jar", "NPLAY-Bot.jar"] |
Oops, something went wrong.