File tree 2 files changed +31
-1
lines changed
2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ namespace App \Services ;
4
+
5
+ class PGVector extends BaseService
6
+ {
7
+ protected static $ displayName = 'PGVector ' ;
8
+ protected static $ category = Category::DATABASE ;
9
+
10
+ protected $ organization = 'pgvector ' ;
11
+ protected $ imageName = 'pgvector ' ;
12
+ protected $ defaultPort = 5432 ;
13
+ protected $ prompts = [
14
+ [
15
+ 'shortname ' => 'volume ' ,
16
+ 'prompt ' => 'What is the Docker volume name? ' ,
17
+ 'default ' => 'pgvector_data ' ,
18
+ ],
19
+ [
20
+ 'shortname ' => 'root_password ' ,
21
+ 'prompt ' => 'What will the password for the `postgres` user be? ' ,
22
+ 'default ' => 'password ' ,
23
+ ],
24
+ ];
25
+
26
+ protected $ dockerRunTemplate = '-p "${:port}":5432 \
27
+ -e POSTGRES_PASSWORD="${:root_password}" \
28
+ -v "${:volume}":/var/lib/postgresql/data \
29
+ "${:organization}"/"${:image_name}":"${:tag}" ' ;
30
+ }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function it_sorts_the_versions_naturally()
42
42
$ tags = collect ($ dockerTags ->getTags ());
43
43
44
44
$ this ->assertEquals ('latest ' , $ tags ->shift ());
45
- $ this ->assertEquals ('16.2 ' , $ tags ->shift ());
45
+ $ this ->assertEquals ('16.3 ' , $ tags ->shift ());
46
46
}
47
47
48
48
/** @test */
You can’t perform that action at this time.
0 commit comments