forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.logs
97 lines (97 loc) · 6.4 KB
/
docker-compose.logs
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Network rinha-network Creating
Network rinha-network Created
Container josebaroni-postgrest-db-1 Creating
Container josebaroni-postgrest-db-1 Created
Container josebaroni-postgrest-api02-1 Creating
Container josebaroni-postgrest-api01-1 Creating
Container josebaroni-postgrest-api02-1 Created
Container josebaroni-postgrest-api01-1 Created
Container nginx Creating
Container nginx Created
Attaching to api01-1, api02-1, db-1, nginx
db-1 | The files belonging to this database system will be owned by user "postgres".
db-1 | This user must also own the server process.
db-1 |
db-1 | The database cluster will be initialized with locale "en_US.utf8".
db-1 | The default database encoding has accordingly been set to "UTF8".
db-1 | The default text search configuration will be set to "english".
db-1 |
db-1 | Data page checksums are disabled.
db-1 |
db-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db-1 | creating subdirectories ... ok
db-1 | selecting dynamic shared memory implementation ... posix
db-1 | selecting default max_connections ... 100
db-1 | selecting default shared_buffers ... 128MB
db-1 | selecting default time zone ... Etc/UTC
db-1 | creating configuration files ... ok
api01-1 | 19/Feb/2024:09:00:07 +0000: Starting PostgREST 12.0.2...
api01-1 | 19/Feb/2024:09:00:07 +0000: Attempting to connect to the database...
api01-1 | 19/Feb/2024:09:00:07 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api01-1 | 19/Feb/2024:09:00:07 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api01-1 | 19/Feb/2024:09:00:07 +0000: Attempting to reconnect to the database in 0 seconds...
api02-1 | 19/Feb/2024:09:00:07 +0000: Starting PostgREST 12.0.2...
api02-1 | 19/Feb/2024:09:00:07 +0000: Attempting to connect to the database...
api02-1 | 19/Feb/2024:09:00:07 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api02-1 | 19/Feb/2024:09:00:07 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api02-1 | 19/Feb/2024:09:00:07 +0000: Attempting to reconnect to the database in 0 seconds...
db-1 | running bootstrap script ... ok
db-1 | performing post-bootstrap initialization ... ok
api01-1 | 19/Feb/2024:09:00:08 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api01-1 | 19/Feb/2024:09:00:08 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api01-1 | 19/Feb/2024:09:00:08 +0000: Attempting to reconnect to the database in 1 seconds...
api02-1 | 19/Feb/2024:09:00:08 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api02-1 | 19/Feb/2024:09:00:08 +0000: {"code":"PGRST000","details":"connection to server at \"db\" (172.29.0.2), port 5432 failed: Connection refused\n\tIs the server running on that host and accepting TCP/IP connections?\n","hint":null,"message":"Database connection error. Retrying the connection."}
api02-1 | 19/Feb/2024:09:00:08 +0000: Attempting to reconnect to the database in 1 seconds...
db-1 | syncing data to disk ... ok
db-1 |
db-1 |
db-1 | Success. You can now start the database server using:
db-1 |
db-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db-1 |
db-1 | initdb: warning: enabling "trust" authentication for local connections
db-1 | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
db-1 | waiting for server to start.... done
db-1 | server started
db-1 | CREATE DATABASE
db-1 |
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
db-1 | CREATE ROLE
db-1 | GRANT
db-1 | CREATE TABLE
db-1 | CREATE TABLE
db-1 | ALTER TABLE
db-1 | DO
db-1 | CREATE FUNCTION
db-1 | CREATE FUNCTION
db-1 | GRANT
db-1 | GRANT
db-1 | GRANT
db-1 |
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/postgresql.conf
db-1 |
db-1 | waiting for server to shut down.... done
db-1 | server stopped
db-1 |
db-1 | PostgreSQL init process complete; ready for start up.
db-1 |
api01-1 | 19/Feb/2024:09:00:10 +0000: Connection successful19/Feb/2024:09:00:10 +0000: Listening on port 3000
api01-1 |
api01-1 | 19/Feb/2024:09:00:10 +0000: Config reloaded
api01-1 | 19/Feb/2024:09:00:10 +0000: Listening for notifications on the pgrst channel
api02-1 | 19/Feb/2024:09:00:10 +0000: Listening on port 300019/Feb/2024:09:00:10 +0000: Connection successful
api02-1 |
api02-1 | 19/Feb/2024:09:00:10 +0000: Config reloaded
api02-1 | 19/Feb/2024:09:00:10 +0000: Listening for notifications on the pgrst channel
api02-1 | 19/Feb/2024:09:00:10 +0000: Schema cache loaded
api01-1 | 19/Feb/2024:09:00:10 +0000: Schema cache loaded
nginx exited with code 0
nginx exited with code 0
api02-1 exited with code 0
api02-1 exited with code 255
api01-1 exited with code 0
api01-1 exited with code 255
db-1 exited with code 0