forked from veldhub/veld_code__postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathveld_enter_shell.yaml
More file actions
27 lines (24 loc) · 964 Bytes
/
veld_enter_shell.yaml
File metadata and controls
27 lines (24 loc) · 964 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 --pgclirc /veld/input/pgcli.conf postgresql://$${POSTGRES_USER}:$${POSTGRES_PASSWORD}@$${POSTGRES_HOST}:5432/$${POSTGRES_DB}"
volumes:
- ./data/input/config/pgcli.conf:/veld/input/pgcli.conf
- ./data/storage/postgres/history/:/veld/storage/postgres/history/
environment:
POSTGRES_USER: "postgres_user"
POSTGRES_PASSWORD: "postgres_password"
POSTGRES_DB: "postgres_db"
POSTGRES_HOST: "veld_embeddings_platform_run_server"
stdin_open: true
tty: true
networks:
- postgres_network
networks:
postgres_network:
driver: bridge