Skip to content

Commit e301d68

Browse files
committed
chore: Fix odyssey Dockerfile example
1 parent 4eee88c commit e301d68

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

odyssey/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# docker build -t livingdocs/odyssey:1.3 . -f debian.Dockerfile
1+
# docker build -t livingdocs/odyssey:1.3 . -f Dockerfile
22
# docker run --rm -p 6543:6543 livingdocs/odyssey:1.3
33
FROM debian:bullseye as builder
44
RUN export DEBIAN_FRONTEND=noninteractive && \

odyssey/odyssey.conf

+6-16
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,14 @@ storage "primary" {
88
}
99

1010
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 {
2212
authentication "scram-sha-256"
2313
pool "session"
2414
storage "local"
2515

2616
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"
2919
}
3020
}
3121

@@ -42,13 +32,13 @@ database "auth-query" {
4232
database default {
4333
user default {
4434
storage "primary"
45-
authentication "scram-sha-256"
35+
authentication "scram-sha-256"
4636

4737
# This requires you to create the pooler schema and the lookup function.
4838
# An example is provided in setup_password_lookup_function.sql
4939
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"
5242

5343
pool "transaction"
5444
pool_size 0

0 commit comments

Comments
 (0)