Adding Docker environment + dependencies
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
<url/>
|
<url/>
|
||||||
</scm>
|
</scm>
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>25</java.version>
|
<java.version>17</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|||||||
@@ -1 +1,11 @@
|
|||||||
spring.application.name=FrisbYEE
|
spring.datasource.url=jdbc:postgresql://localhost:5432/frisbyee
|
||||||
|
spring.datasource.username=postgres
|
||||||
|
spring.datasource.password=postgres
|
||||||
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|
||||||
|
spring.jpa.hibernate.ddl-auto=update
|
||||||
|
spring.jpa.show-sql=true
|
||||||
|
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
|
||||||
|
spring.datasource.url=jdbc:postgresql://localhost:5432/frisbyee
|
||||||
|
spring.datasource.username=frisbyee_user
|
||||||
|
spring.datasource.password=secret
|
||||||
@@ -27,3 +27,20 @@ services:
|
|||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 20
|
retries: 20
|
||||||
|
postgres:
|
||||||
|
image: postgres:16
|
||||||
|
container_name: frisbyee-postgres
|
||||||
|
ports:
|
||||||
|
- "5432:5432"
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: frisbyee
|
||||||
|
POSTGRES_USER: frisbyee_user
|
||||||
|
POSTGRES_PASSWORD: secret
|
||||||
|
volumes:
|
||||||
|
- postgres_data:/var/lib/postgresql/data
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
postgres_data:
|
||||||
|
|
||||||
|
version: "3.9"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user