fix: postgresql container volume #7

Merged
jarno merged 1 commits from fix-dockerfile-volume into main 2025-08-11 17:29:44 +00:00
2 changed files with 6 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
server: server:
port: 8080 port: 8090
servlet: servlet:
context-path: /api context-path: /api
@@ -9,7 +9,7 @@ spring:
# Database Configuration # Database Configuration
datasource: datasource:
url: jdbc:postgresql://localhost:5432/vibing url: jdbc:postgresql://dind:5432/vibing
username: vibing username: vibing
password: vibing password: vibing
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver

View File

@@ -9,3 +9,6 @@ services:
POSTGRES_DB: vibing POSTGRES_DB: vibing
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: