-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathveld_enter_shell.yaml
More file actions
27 lines (24 loc) · 918 Bytes
/
veld_enter_shell.yaml
File metadata and controls
27 lines (24 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
x-veld:
code:
description: "note that this must be run with `docker compose -f veld_enter_shell.yaml run
veld_embeddings_platform_enter_shell` and also requires a running postgres server (which can
be started with the other veld service `veld_run_server.yaml`."
services:
veld_embeddings_platform_enter_shell:
build: .
command: bash -c "pgcli postgresql://$${POSTGRES_USER}:$${POSTGRES_PASSWORD}@$${POSTGRES_HOST}:5432/$${POSTGRES_DB}"
volumes:
- ./data/storage/history/:/veld/storage/history/
environment:
POSTGRES_USER: "postgres_user"
POSTGRES_PASSWORD: "postgres_password"
POSTGRES_DB: "postgres_db"
POSTGRES_HOST: "veld_embeddings_platform_run_server"
PSQL_HISTORY: "/veld/storage/history/psql_history"
stdin_open: true
tty: true
networks:
- veld_postgres_network
networks:
veld_postgres_network:
driver: bridge