fix: postgresql container volume
All checks were successful
Backend CI / Run Maven Tests (push) Successful in 28s

Reviewed-on: #7
Co-authored-by: Jarno Kiesiläinen <jarnokie@gmail.com>
Co-committed-by: Jarno Kiesiläinen <jarnokie@gmail.com>
This commit was merged in pull request #7.
This commit is contained in:
2025-08-11 17:29:43 +00:00
committed by jarno
parent b4cd05e7b2
commit 41020cdc00
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

@@ -8,4 +8,7 @@ services:
POSTGRES_PASSWORD: vibing POSTGRES_PASSWORD: vibing
POSTGRES_DB: vibing POSTGRES_DB: vibing
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: