Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaUnisikhin committed Mar 13, 2024
1 parent b1f3a0f commit dc2ca6f
Show file tree
Hide file tree
Showing 4 changed files with 4,027 additions and 9 deletions.
10 changes: 5 additions & 5 deletions config-examples/odyssey-dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ log_syslog no
log_syslog_ident "odyssey"
log_syslog_facility "daemon"

log_debug no
log_debug yes
log_config yes
log_session yes
log_query no
log_query yes
log_stats yes
stats_interval 60
log_general_stats_prom yes
log_route_stats_prom no
promhttp_server_port 7777

log_file "./logs.txt"

workers "auto"
resolvers 1

Expand Down Expand Up @@ -56,9 +58,7 @@ storage "postgres_server" {

database default {
user default {
authentication "md5"

password "md588cb17a149f659b9a78ec4a33cbb3c7f"
authentication "none"

storage "postgres_server"
pool "transaction"
Expand Down
6 changes: 2 additions & 4 deletions docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ services:
build:
context: https://github.com/pg-sharding/gorm-spqr.git#main
environment:
DB_HOST: "odyssey"
DB_HOST: "localhost"
DB_PORT: "6432"
DB_USER: "spqr-console"
DB_NAME: "spqr-console"
networks:
od_net:
ipv4_address: 192.168.233.17
network_mode: "host"

networks:
od_net:
Expand Down
1 change: 1 addition & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ setup
# gorm
ody-start
/gorm/test.sh
# sleep 10000000
if [ $? -eq 1 ]
then
exit 1
Expand Down
Loading

0 comments on commit dc2ca6f

Please sign in to comment.