/
asimakov
/
GigaChat
Обзор
Документация
Войти
/
asimakov
/
GigaChat
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
postgres-with-pgvector.yml
52 строки
1 KB
Anton Simakov
init commit
25 янв 2025, 23:24
25 янв 2025, 23:24
e5d7235
Код
Авторство
О чём код?
version: "3.3" services: postgres: container_name: postgres-with-pgvector image: pgvector/pgvector:0.8.0-pg17 depends_on: - pgbouncer environment: POSTGRES_DB: "documents" POSTGRES_USER: "postgres" POSTGRES_PASSWORD: "123" POSTGRES_LISTEN_ADDRESSES: "*" POSTGRES_HOST_AUTH_METHOD: "md5" POSTGRES_INITDB_ARGS: "--auth=md5" PGDATA: /var/lib/postgresql/data/documents-data/ volumes: - urls-data:/var/lib/postgresql/data/pgdata ports: - 5432:5432 restart: unless-stopped deploy: resources: limits: cpus: '2' memory: 512M pgbouncer: container_name: pgbouncer image: bitnami/pgbouncer:latest environment: LISTEN_ADDR: "*" LISTEN_PORT: 6432 POOL_MODE: "transaction" "MAX_CLIENT_CONN": 1000 POSTGRESQL_HOST: "postgres" POSTGRESQL_PORT: 5432 POSTGRESQL_USERNAME: "postgres" PGBOUNCER_AUTH_USER: "postgres" PGBOUNCER_AUTH_TYPE: "plain" POSTGRESQL_PASSWORD: "123" POSTGRESQL_DATABASE: "documents" PGBOUNCER_DATABASE: "documents" ports: - 6432:6432 #deploy: # resources: # limits: # cpus: '1' # memory: 256M volumes: documents-data: