Compare commits
2 Commits
f6e5829e04
...
484b60e31e
Author | SHA1 | Date | |
---|---|---|---|
|
484b60e31e | ||
|
6d8795a851 |
@@ -11,11 +11,11 @@ services:
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway" # Enables access to the host's MariaDB instance
|
||||
|
||||
watchtower:
|
||||
image: v2tec/watchtower
|
||||
container_name: watchtower
|
||||
environment:
|
||||
- WATCHTOWER_TRACE=true # Optional for debug output
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock # This allows Watchtower to interact with Docker
|
||||
restart: always # Ensures Watchtower restarts if it stops
|
||||
watchtower:
|
||||
image: v2tec/watchtower
|
||||
container_name: watchtower
|
||||
environment:
|
||||
- WATCHTOWER_TRACE=true # Optional for debug output
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock # This allows Watchtower to interact with Docker
|
||||
restart: always # Ensures Watchtower restarts if it stops
|
@@ -72,6 +72,12 @@
|
||||
<configuration>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>com.example.bricklog</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,10 @@
|
||||
# Database configuration
|
||||
spring.datasource.url=jdbc:mariadb://host.docker.internal:3306/bricklog
|
||||
spring.datasource.username=bricklog
|
||||
spring.datasource.password=sl0gg1ngBricks4llD4y
|
||||
|
||||
|
||||
# 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
|
Reference in New Issue
Block a user