forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.logs
178 lines (178 loc) · 13 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
Network lucasmancan_app-network Creating
Network lucasmancan_app-network Created
Container lucasmancan-db-postgresql-1 Creating
Container lucasmancan-db-postgresql-1 Created
Container lucasmancan-api2-1 Creating
Container lucasmancan-api1-1 Creating
Container lucasmancan-api1-1 Created
Container lucasmancan-api2-1 Created
Container lucasmancan-nginx-1 Creating
Container lucasmancan-nginx-1 Created
Attaching to api1-1, api2-1, db-postgresql-1, nginx-1
db-postgresql-1 | The files belonging to this database system will be owned by user "postgres".
db-postgresql-1 | This user must also own the server process.
db-postgresql-1 |
db-postgresql-1 | The database cluster will be initialized with locale "en_US.utf8".
db-postgresql-1 | The default database encoding has accordingly been set to "UTF8".
db-postgresql-1 | The default text search configuration will be set to "english".
db-postgresql-1 |
db-postgresql-1 | Data page checksums are disabled.
db-postgresql-1 |
db-postgresql-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
db-postgresql-1 | creating subdirectories ... ok
db-postgresql-1 | selecting dynamic shared memory implementation ... posix
db-postgresql-1 | selecting default max_connections ... 100
db-postgresql-1 | selecting default shared_buffers ... 128MB
db-postgresql-1 | selecting default time zone ... Etc/UTC
db-postgresql-1 | creating configuration files ... ok
db-postgresql-1 | running bootstrap script ... ok
db-postgresql-1 | performing post-bootstrap initialization ... ok
db-postgresql-1 | syncing data to disk ... ok
db-postgresql-1 |
db-postgresql-1 |
db-postgresql-1 | Success. You can now start the database server using:
db-postgresql-1 |
db-postgresql-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
db-postgresql-1 |
db-postgresql-1 | initdb: warning: enabling "trust" authentication for local connections
db-postgresql-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-postgresql-1 | waiting for server to start....2024-03-09 18:43:53.633 UTC [48] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db-postgresql-1 | 2024-03-09 18:43:53.633 UTC [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-postgresql-1 | 2024-03-09 18:43:53.634 UTC [51] LOG: database system was shut down at 2024-03-09 18:43:53 UTC
db-postgresql-1 | 2024-03-09 18:43:53.716 UTC [48] LOG: database system is ready to accept connections
db-postgresql-1 | done
db-postgresql-1 | server started
db-postgresql-1 | CREATE DATABASE
db-postgresql-1 |
db-postgresql-1 |
db-postgresql-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/ddl.sql
db-postgresql-1 | SET
db-postgresql-1 | SET
db-postgresql-1 | SET
db-postgresql-1 | SET
db-postgresql-1 | psql:/docker-entrypoint-initdb.d/ddl.sql:8: NOTICE: table "clientes" does not exist, skipping
db-postgresql-1 | DROP TABLE
db-postgresql-1 | CREATE TABLE
db-postgresql-1 | CREATE TABLE
db-postgresql-1 | CREATE INDEX
db-postgresql-1 | INSERT 0 5
db-postgresql-1 |
db-postgresql-1 |
db-postgresql-1 | waiting for server to shut down....2024-03-09 18:43:54.319 UTC [48] LOG: received fast shutdown request
db-postgresql-1 | 2024-03-09 18:43:54.319 UTC [48] LOG: aborting any active transactions
db-postgresql-1 | 2024-03-09 18:43:54.321 UTC [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
db-postgresql-1 | 2024-03-09 18:43:54.322 UTC [49] LOG: shutting down
db-postgresql-1 | 2024-03-09 18:43:54.322 UTC [49] LOG: checkpoint starting: shutdown immediate
db-postgresql-1 | 2024-03-09 18:43:54.415 UTC [49] LOG: checkpoint complete: wrote 937 buffers (5.7%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.094 s, sync=0.001 s, total=0.094 s; sync files=0, longest=0.000 s, average=0.000 s; distance=4294 kB, estimate=4294 kB; lsn=0/191C4D8, redo lsn=0/191C4D8
db-postgresql-1 | 2024-03-09 18:43:54.420 UTC [48] LOG: database system is shut down
db-postgresql-1 | done
db-postgresql-1 | server stopped
db-postgresql-1 |
db-postgresql-1 | PostgreSQL init process complete; ready for start up.
db-postgresql-1 |
db-postgresql-1 | 2024-03-09 18:43:54.536 UTC [1] LOG: starting PostgreSQL 16.2 (Debian 16.2-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db-postgresql-1 | 2024-03-09 18:43:54.536 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db-postgresql-1 | 2024-03-09 18:43:54.536 UTC [1] LOG: listening on IPv6 address "::", port 5432
db-postgresql-1 | 2024-03-09 18:43:54.536 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db-postgresql-1 | 2024-03-09 18:43:54.615 UTC [66] LOG: database system was shut down at 2024-03-09 18:43:54 UTC
db-postgresql-1 | 2024-03-09 18:43:54.618 UTC [1] LOG: database system is ready to accept connections
db-postgresql-1 | 2024-03-09 18:43:56.230 UTC [77] FATAL: role "root" does not exist
nginx-1 | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx-1 | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx-1 | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx-1 | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx-1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx-1 | /docker-entrypoint.sh: Configuration complete; ready for start up
api1-1 | 18:43:58.734 [main] INFO com.zaxxer.hikari.HikariDataSource - postgresql.rinhadb - Starting...
api2-1 | 18:43:58.831 [main] INFO com.zaxxer.hikari.HikariDataSource - postgresql.rinhadb - Starting...
api1-1 | 18:43:59.439 [main] INFO com.zaxxer.hikari.pool.HikariPool - postgresql.rinhadb - Added connection org.postgresql.jdbc.PgConnection@73a8da0f
api1-1 | 18:43:59.441 [main] INFO com.zaxxer.hikari.HikariDataSource - postgresql.rinhadb - Start completed.
api2-1 | 18:43:59.449 [main] INFO com.zaxxer.hikari.pool.HikariPool - postgresql.rinhadb - Added connection org.postgresql.jdbc.PgConnection@73a8da0f
api2-1 | 18:43:59.450 [main] INFO com.zaxxer.hikari.HikariDataSource - postgresql.rinhadb - Start completed.
api1-1 | 18:44:00.032 [main] INFO app.App - App (dev) started
api2-1 | 18:44:00.035 [main] INFO app.App - App (dev) started
api1-1 | 18:44:00.033 [main] INFO app.App - routes:
api1-1 |
api1-1 | GET /health-check
api1-1 | GET /clientes/{id}/extrato
api1-1 | POST /clientes/{id}/transacoes
api1-1 |
api1-1 | listening on:
api1-1 | http://localhost:8080/
api1-1 |
api2-1 | 18:44:00.035 [main] INFO app.App - routes:
api2-1 |
api2-1 | GET /health-check
api2-1 | GET /clientes/{id}/extrato
api2-1 | POST /clientes/{id}/transacoes
api2-1 |
api2-1 | listening on:
api2-1 | http://localhost:8080/
api2-1 |
db-postgresql-1 | 2024-03-09 18:44:01.331 UTC [105] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:06.434 UTC [113] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:11.625 UTC [121] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:16.729 UTC [130] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:21.829 UTC [138] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:26.931 UTC [146] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:32.215 UTC [154] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:37.419 UTC [162] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:42.616 UTC [170] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:47.817 UTC [178] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:53.016 UTC [186] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:44:58.220 UTC [195] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:03.421 UTC [203] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:08.616 UTC [211] FATAL: role "root" does not exist
api1-1 exited with code 137
db-postgresql-1 | 2024-03-09 18:45:13.816 UTC [219] FATAL: role "root" does not exist
api2-1 exited with code 137
db-postgresql-1 | 2024-03-09 18:45:18.930 UTC [228] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:24.030 UTC [236] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:29.130 UTC [244] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:34.235 UTC [252] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:39.331 UTC [261] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:44.431 UTC [269] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:49.531 UTC [277] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:54.715 UTC [285] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:45:59.831 UTC [294] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:05.015 UTC [302] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:10.131 UTC [310] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:15.234 UTC [319] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:20.432 UTC [327] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:25.615 UTC [335] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:30.731 UTC [343] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:35.917 UTC [353] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:41.031 UTC [361] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:46.218 UTC [369] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:51.332 UTC [377] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:46:56.433 UTC [386] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:01.631 UTC [394] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:06.815 UTC [402] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:11.931 UTC [410] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:17.035 UTC [420] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:22.233 UTC [428] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:27.432 UTC [436] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:32.531 UTC [444] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:37.632 UTC [453] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:42.731 UTC [461] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:47.915 UTC [470] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:53.115 UTC [478] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:47:58.232 UTC [487] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:48:03.415 UTC [495] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:48:08.532 UTC [503] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:48:13.631 UTC [511] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:48:18.831 UTC [520] FATAL: role "root" does not exist
db-postgresql-1 | 2024-03-09 18:48:23.934 UTC [528] FATAL: role "root" does not exist
nginx-1 exited with code 0
nginx-1 exited with code 0
db-postgresql-1 | 2024-03-09 18:48:24.321 UTC [1] LOG: received fast shutdown request
db-postgresql-1 | 2024-03-09 18:48:24.321 UTC [1] LOG: aborting any active transactions
db-postgresql-1 | 2024-03-09 18:48:24.323 UTC [1] LOG: background worker "logical replication launcher" (PID 69) exited with exit code 1
db-postgresql-1 | 2024-03-09 18:48:24.323 UTC [64] LOG: shutting down
db-postgresql-1 | 2024-03-09 18:48:24.323 UTC [64] LOG: checkpoint starting: shutdown immediate
db-postgresql-1 | 2024-03-09 18:48:24.325 UTC [64] LOG: checkpoint complete: wrote 139 buffers (0.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.001 s, total=0.002 s; sync files=0, longest=0.000 s, average=0.000 s; distance=402 kB, estimate=402 kB; lsn=0/1980FF0, redo lsn=0/1980FF0
db-postgresql-1 | 2024-03-09 18:48:24.328 UTC [1] LOG: database system is shut down
db-postgresql-1 exited with code 0