-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathveld_run_server.yaml
More file actions
59 lines (52 loc) · 1.57 KB
/
veld_run_server.yaml
File metadata and controls
59 lines (52 loc) · 1.57 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
x-veld:
code:
description: "This is a veldified version of postgres, based on
https://github.com/SteffRhes/postgres_rooted ."
topic:
- "SQL"
- "relational database"
input:
- volume: /veld/input/
file_type: "conf"
content: "postgres configuration"
description: "This volume must contain a config file named postgresql.conf! A template is
provided. Documenatation on its usage can be found here:
https://www.postgresql.org/docs/current/config-setting.html"
optional: true
storage:
- volume: /veld/storage/
file_type: "postgresql data"
networks:
- veld_postgres
config:
- environemnt_var: "POSTGRES_USER"
var_type: "str"
default: "postgres_user"
optional: true
- environemnt_var: "POSTGRES_PASSWORD"
var_type: "str"
default: "postgres_password"
optional: true
- environemnt_var: "POSTGRES_DB"
var_type: "str"
default: "postgres_db"
optional: true
services:
veld_embeddings_platform_run_server:
build: .
volumes:
- ./data/storage/db/:/veld/storage/db/
- ./data/storage/history/:/veld/storage/history/
- ./data/input/:/veld/input/
ports:
- "127.0.0.1:5432:5432"
environment:
POSTGRES_USER: "postgres_user"
POSTGRES_PASSWORD: "postgres_password"
POSTGRES_DB: "postgres_db"
PSQL_HISTORY: "/veld/storage/history/psql_history"
networks:
- veld_postgres_network
networks:
veld_postgres_network:
driver: bridge