You've already forked RekomenciBackend
a
This commit is contained in:
+3
-1
@@ -160,7 +160,7 @@ services:
|
|||||||
- path: ./infrastructure/configs/postgres/.env
|
- path: ./infrastructure/configs/postgres/.env
|
||||||
required: false
|
required: false
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "pg_isready", "-U", "postgres", "--dbname=postgres" ]
|
test: [ "CMD", "pg_isready", "-U", "postgres", "--dbname=app" ]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 4s
|
timeout: 4s
|
||||||
start_period: 5s
|
start_period: 5s
|
||||||
@@ -261,6 +261,7 @@ services:
|
|||||||
source: redis_data
|
source: redis_data
|
||||||
target: /data
|
target: /data
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
@@ -271,6 +272,7 @@ networks:
|
|||||||
internal: false
|
internal: false
|
||||||
external: false
|
external: false
|
||||||
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
pgadmin_data:
|
pgadmin_data:
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
CREATE DATABASE app;
|
||||||
|
|
||||||
|
\c app;
|
||||||
|
|
||||||
|
CREATE EXTENSION IF NOT EXISTS vector;
|
||||||
Reference in New Issue
Block a user