feat: add new folder
This commit is contained in:
59
gig-poc/infrastructure/docker-compose.yml
Normal file
59
gig-poc/infrastructure/docker-compose.yml
Normal file
@@ -0,0 +1,59 @@
|
||||
name: gig-poc
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: docker.m.daocloud.io/library/postgres:16-alpine
|
||||
environment:
|
||||
POSTGRES_DB: gig_poc
|
||||
POSTGRES_USER: gig
|
||||
POSTGRES_PASSWORD: gig
|
||||
TZ: Asia/Shanghai
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
- ./sql:/docker-entrypoint-initdb.d
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U gig -d gig_poc"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
ports:
|
||||
- "5432:5432"
|
||||
|
||||
qdrant:
|
||||
image: docker.m.daocloud.io/qdrant/qdrant:v1.14.1
|
||||
volumes:
|
||||
- qdrant_data:/qdrant/storage
|
||||
ports:
|
||||
- "6333:6333"
|
||||
|
||||
api:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: apps/api/Dockerfile
|
||||
environment:
|
||||
APP_ENV: docker
|
||||
DATABASE_URL: postgresql+psycopg://gig:gig@postgres:5432/gig_poc
|
||||
QDRANT_URL: http://qdrant:6333
|
||||
LOG_LEVEL: INFO
|
||||
LLM_ENABLED: "false"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
qdrant:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "8000:8000"
|
||||
|
||||
web:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: apps/web/Dockerfile
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "5173:80"
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
qdrant_data:
|
||||
Reference in New Issue
Block a user