File tree 2 files changed +7
-17
lines changed
2 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 1
- # docker build -t livingdocs/odyssey:1.3 . -f debian. Dockerfile
1
+ # docker build -t livingdocs/odyssey:1.3 . -f Dockerfile
2
2
# docker run --rm -p 6543:6543 livingdocs/odyssey:1.3
3
3
FROM debian:bullseye as builder
4
4
RUN export DEBIAN_FRONTEND=noninteractive && \
Original file line number Diff line number Diff line change @@ -8,24 +8,14 @@ storage "primary" {
8
8
}
9
9
10
10
database "console" {
11
- user "pooler" {
12
- authentication "scram-sha-256"
13
- pool "session"
14
- storage "local"
15
-
16
- auth_query "SELECT * from pooler.lookup_user($1)"
17
- auth_query_db "auth-query"
18
- auth_query_user "pooler"
19
- }
20
-
21
- user "postgres" {
11
+ user default {
22
12
authentication "scram-sha-256"
23
13
pool "session"
24
14
storage "local"
25
15
26
16
auth_query "SELECT * from pooler.lookup_user($1)"
27
- auth_query_db "auth-query"
28
- auth_query_user "pooler"
17
+ auth_query_db "auth-query"
18
+ auth_query_user "pooler"
29
19
}
30
20
}
31
21
@@ -42,13 +32,13 @@ database "auth-query" {
42
32
database default {
43
33
user default {
44
34
storage "primary"
45
- authentication "scram-sha-256"
35
+ authentication "scram-sha-256"
46
36
47
37
# This requires you to create the pooler schema and the lookup function.
48
38
# An example is provided in setup_password_lookup_function.sql
49
39
auth_query "SELECT * from pooler.lookup_user($1)"
50
- auth_query_db "auth-query"
51
- auth_query_user "pooler"
40
+ auth_query_db "auth-query"
41
+ auth_query_user "pooler"
52
42
53
43
pool "transaction"
54
44
pool_size 0
You can’t perform that action at this time.
0 commit comments