-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vladislav Kuznetsov
committed
Jul 5, 2024
1 parent
383de11
commit 009a776
Showing
9 changed files
with
95 additions
and
61 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
COMPOSE_PROJECT_NAME = leo-bot | ||
COMPOSE_PROJECT_NAME = protego-totalum-bot |
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,6 @@ | ||
set APPLICATION_NAME=leo | ||
set APPLICATION_NAME=protego-totalum | ||
|
||
set PG_DBNAME=leo_db | ||
set PG_USER=leo_login | ||
set PG_PASSWORD=leo_password | ||
set PG_DBNAME=protego_totalum | ||
set PG_USER=protego_totalum | ||
set PG_PASSWORD=protego_totalum | ||
set PG_PORT=5123 |
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,2 +1,3 @@ | ||
\connect leo_db | ||
create schema if not exists leo_bot_schema; | ||
\connect protego_totalum | ||
create schema if not exists protego_totalum; | ||
create schema if not exists liquibase; |
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,7 @@ | ||
FROM eclipse-temurin:21-jdk-alpine | ||
MAINTAINER Vladislav Kuznetsov <[email protected]> | ||
FROM openjdk:21 | ||
USER 65534 | ||
LABEL org.opencontainers.image.authors="Vladislav Kuznetsov <[email protected]>" | ||
VOLUME /tmp | ||
ADD build/libs/pt-discord-2024.1.jar protego-totalum-bot.jar | ||
ADD build/libs/pt-discord-0.0.1-SNAPSHOT.jar protego-totalum-bot.jar | ||
EXPOSE 8080 | ||
ENTRYPOINT ["java", "-jar", "discord-leo-bot.jar"] | ||
ENTRYPOINT ["java", "-jar", "protego-totalum-bot.jar"] |