Подключил PostgreSQL и Flyway, добавил JDBC-хранилище счетов и интерфейс AccountStore
This commit is contained in:
1 parent
03004276af
commit
c22f1f668f
12 files changed
+163
-46
No files matched your search
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17
|
||||
environment:
|
||||
POSTGRES_DB: easy_money
|
||||
POSTGRES_USER: easy_money
|
||||
POSTGRES_PASSWORD: easy_money_dev
|
||||
ports:
|
||||
- "127.0.0.1:5432:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U easy_money -d easy_money"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
Reference in new issue
Block a user