You've already forked RekomenciBackend
+7
-1
@@ -153,7 +153,7 @@ services:
|
|||||||
selinux: z
|
selinux: z
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: docker.io/postgres:17-alpine
|
image: docker.io/pgvector/pgvector:pg17-trixie
|
||||||
env_file:
|
env_file:
|
||||||
- path: ./infrastructure/configs/postgres/.env.template
|
- path: ./infrastructure/configs/postgres/.env.template
|
||||||
required: true
|
required: true
|
||||||
@@ -178,6 +178,12 @@ services:
|
|||||||
read_only: true
|
read_only: true
|
||||||
bind:
|
bind:
|
||||||
selinux: z
|
selinux: z
|
||||||
|
- type: bind
|
||||||
|
source: ./infrastructure/configs/postgres/init-db.sql
|
||||||
|
target: /docker-entrypoint-initdb.d/init-db.sql
|
||||||
|
read_only: true
|
||||||
|
bind:
|
||||||
|
selinux: z
|
||||||
- type: volume
|
- type: volume
|
||||||
source: postgres_data
|
source: postgres_data
|
||||||
target: /var/lib/postgresql/data
|
target: /var/lib/postgresql/data
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ port = 8080
|
|||||||
access_log = true
|
access_log = true
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
url = "postgresql+psycopg://postgres:postgres@postgres:5432/postgres"
|
url = "postgresql+psycopg://postgres:postgres@postgres:5432/app"
|
||||||
|
|
||||||
[access_token]
|
[access_token]
|
||||||
crypto_key = "YlPGYA-WnyYW8Cd0bFZWPeZjPjfXhrD9P7ciCprYmmc="
|
crypto_key = "YlPGYA-WnyYW8Cd0bFZWPeZjPjfXhrD9P7ciCprYmmc="
|
||||||
|
|||||||
Reference in New Issue
Block a user