Initial commit
This commit is contained in:
commit
4752929564
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/db
|
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: pgvector/pgvector:pg16
|
||||||
|
healthcheck:
|
||||||
|
test: [ "CMD", "pg_isready", "-q", "-d", "postgres", "-U", "root" ]
|
||||||
|
timeout: 45s
|
||||||
|
interval: 10s
|
||||||
|
retries: 10
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
- POSTGRES_USER=root
|
||||||
|
- POSTGRES_PASSWORD=Qwerty123...
|
||||||
|
- APP_DB_USER=docker
|
||||||
|
- APP_DB_PASS=docker
|
||||||
|
- APP_DB_NAME=docker
|
||||||
|
volumes:
|
||||||
|
- ./db:/docker-entrypoint-initdb.d/
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
Loading…
Reference in New Issue
Block a user