build jars and compose the docker image tweaks
This commit is contained in:
Binary file not shown.
Binary file not shown.
0
BrickLog-Client/target/classes/css/dark-theme.css
Normal file
0
BrickLog-Client/target/classes/css/dark-theme.css
Normal file
0
BrickLog-Client/target/classes/css/light-theme.css
Normal file
0
BrickLog-Client/target/classes/css/light-theme.css
Normal file
@@ -1,5 +1,4 @@
|
|||||||
sql/
|
sql/
|
||||||
target/
|
|
||||||
*.log
|
*.log
|
||||||
*.class
|
*.class
|
||||||
.idea/
|
.idea/
|
@@ -5,7 +5,7 @@ FROM openjdk:21-jdk-slim
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the built JAR file into the container
|
# Copy the built JAR file into the container
|
||||||
COPY target/BrickLog-Server-0.1.jar app.jar
|
COPY target/BrickLog-Server-0.1-SNAPSHOT.jar app.jar
|
||||||
|
|
||||||
# Expose the port your application runs on
|
# Expose the port your application runs on
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
@@ -1,7 +1,7 @@
|
|||||||
# Database configuration
|
# Database configuration
|
||||||
spring.datasource.url=jdbc:mariadb://host.docker.internal:3306/bricklog
|
spring.datasource.url=jdbc:mariadb://host.docker.internal:3306/bricklog
|
||||||
spring.datasource.username=bricklog
|
spring.datasource.username=bricklog
|
||||||
spring.datasource.password=your_password_here
|
spring.datasource.password=sl0gg1ngBricks4llD4y
|
||||||
|
|
||||||
|
|
||||||
# JPA settings
|
# JPA settings
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,9 +0,0 @@
|
|||||||
# MariaDB Configuration
|
|
||||||
spring.datasource.url=jdbc:mariadb://localhost:3306/bricklog_db
|
|
||||||
spring.datasource.username=your_db_username
|
|
||||||
spring.datasource.password=your_db_password
|
|
||||||
|
|
||||||
# JPA settings
|
|
||||||
spring.jpa.hibernate.ddl-auto=update # Creates tables automatically; set to 'none' in production if not needed
|
|
||||||
spring.jpa.show-sql=true # Shows SQL queries in the console, useful for debugging
|
|
||||||
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
|
|
@@ -1 +1,4 @@
|
|||||||
com\example\bricklog\BrickLogApplication.class
|
com\example\bricklog\BrickLogApplication.class
|
||||||
|
com\example\bricklog\controller\LegoBuildController.class
|
||||||
|
com\example\bricklog\model\LegoBuild.class
|
||||||
|
com\example\bricklog\repository\LegoBuildRepository.class
|
||||||
|
@@ -1 +1,4 @@
|
|||||||
C:\Users\bryce\Documents\Git\BrickLog\BrickLog-Server\src\main\java\com\example\bricklog\BrickLogApplication.java
|
C:\Users\bryce\Documents\Git\BrickLog\BrickLog-Server\src\main\java\com\example\bricklog\BrickLogApplication.java
|
||||||
|
C:\Users\bryce\Documents\Git\BrickLog\BrickLog-Server\src\main\java\com\example\bricklog\repository\LegoBuildRepository.java
|
||||||
|
C:\Users\bryce\Documents\Git\BrickLog\BrickLog-Server\src\main\java\com\example\bricklog\controller\LegoBuildController.java
|
||||||
|
C:\Users\bryce\Documents\Git\BrickLog\BrickLog-Server\src\main\java\com\example\bricklog\model\LegoBuild.java
|
||||||
|
BIN
BrickLog.jar
Normal file
BIN
BrickLog.jar
Normal file
Binary file not shown.
Reference in New Issue
Block a user