forked from zanfranceschi/rinha-de-backend-2024-q1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.logs
141 lines (141 loc) · 13.6 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
Container halexv-postgres-1 Creating
Container halexv-postgres-1 Created
Container halexv-app2-1 Creating
Container halexv-app1-1 Creating
Container halexv-app1-1 Created
Container halexv-app2-1 Created
Container halexv-nginx-1 Creating
Container halexv-nginx-1 Created
Attaching to app1-1, app2-1, nginx-1, postgres-1
postgres-1 | The files belonging to this database system will be owned by user "postgres".
postgres-1 | This user must also own the server process.
postgres-1 |
postgres-1 | The database cluster will be initialized with locale "en_US.utf8".
postgres-1 | The default database encoding has accordingly been set to "UTF8".
postgres-1 | The default text search configuration will be set to "english".
postgres-1 |
postgres-1 | Data page checksums are disabled.
postgres-1 |
postgres-1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres-1 | creating subdirectories ... ok
postgres-1 | selecting dynamic shared memory implementation ... posix
postgres-1 | selecting default max_connections ... 100
postgres-1 | selecting default shared_buffers ... 128MB
postgres-1 | selecting default time zone ... Etc/UTC
postgres-1 | creating configuration files ... ok
postgres-1 | running bootstrap script ... ok
postgres-1 | performing post-bootstrap initialization ... ok
postgres-1 | initdb: warning: enabling "trust" authentication for local connections
postgres-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.
postgres-1 | syncing data to disk ... ok
postgres-1 |
postgres-1 |
postgres-1 | Success. You can now start the database server using:
postgres-1 |
postgres-1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres-1 |
postgres-1 | waiting for server to start....2024-02-19 07:41:13.587 GMT [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
postgres-1 | 2024-02-19 07:41:13.591 GMT [48] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2024-02-19 07:41:13.600 GMT [51] LOG: database system was shut down at 2024-02-19 07:41:13 GMT
postgres-1 | 2024-02-19 07:41:13.612 GMT [48] LOG: database system is ready to accept connections
postgres-1 | done
postgres-1 | server started
postgres-1 |
postgres-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres-1 |
postgres-1 | 2024-02-19 07:41:13.692 GMT [48] LOG: received fast shutdown request
postgres-1 | waiting for server to shut down....2024-02-19 07:41:13.696 GMT [48] LOG: aborting any active transactions
postgres-1 | 2024-02-19 07:41:13.698 GMT [48] LOG: background worker "logical replication launcher" (PID 54) exited with exit code 1
postgres-1 | 2024-02-19 07:41:13.698 GMT [49] LOG: shutting down
postgres-1 | 2024-02-19 07:41:13.701 GMT [49] LOG: checkpoint starting: shutdown immediate
postgres-1 | 2024-02-19 07:41:13.723 GMT [49] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.008 s, sync=0.003 s, total=0.025 s; sync files=2, longest=0.002 s, average=0.002 s; distance=0 kB, estimate=0 kB; lsn=0/14EAAA8, redo lsn=0/14EAAA8
postgres-1 | 2024-02-19 07:41:13.733 GMT [48] LOG: database system is shut down
postgres-1 | done
postgres-1 | server stopped
postgres-1 |
postgres-1 | PostgreSQL init process complete; ready for start up.
postgres-1 |
postgres-1 | 2024-02-19 07:41:13.821 GMT [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
postgres-1 | 2024-02-19 07:41:13.821 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres-1 | 2024-02-19 07:41:13.821 GMT [1] LOG: listening on IPv6 address "::", port 5432
postgres-1 | 2024-02-19 07:41:13.829 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres-1 | 2024-02-19 07:41:13.836 GMT [62] LOG: database system was shut down at 2024-02-19 07:41:13 GMT
postgres-1 | 2024-02-19 07:41:13.842 GMT [1] LOG: database system is ready to accept connections
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
app2-1 |
app2-1 | > [email protected] start:prod
app2-1 | > node src/infra/main
app2-1 |
app1-1 |
app1-1 | > [email protected] start:migrate:prod
app1-1 | > npx knex migrate:latest && npm run start:prod
app1-1 |
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +74ms[39m
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mEnvModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mDatabaseModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 18 - [39m02/19/2024, 7:41:20 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mHttpModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | index.js: Primary 18 is running
app1-1 | Batch 1 run: 4 migrations
app1-1 |
app1-1 | > [email protected] start:prod
app1-1 | > node src/infra/main
app1-1 |
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +14ms[39m
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +0ms[39m
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +0ms[39m
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mEnvModule dependencies initialized[39m[38;5;3m +0ms[39m
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mDatabaseModule dependencies initialized[39m[38;5;3m +1ms[39m
app1-1 | [32m[Nest] 51 - [39m02/19/2024, 7:41:23 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mHttpModule dependencies initialized[39m[38;5;3m +1ms[39m
app1-1 | index.js: Primary 51 is running
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:24 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +280ms[39m
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +5ms[39m
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mEnvModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mDatabaseModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 29 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mHttpModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[NestFactory] [39m[32mStarting Nest application...[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +114ms[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mEnvModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mDatabaseModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 37 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mHttpModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +281ms[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mAppModule dependencies initialized[39m[38;5;3m +197ms[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +4ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigHostModule dependencies initialized[39m[38;5;3m +8ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mEnvModule dependencies initialized[39m[38;5;3m +0ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mDatabaseModule dependencies initialized[39m[38;5;3m +2ms[39m
app2-1 | [32m[Nest] 31 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mHttpModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mConfigModule dependencies initialized[39m[38;5;3m +5ms[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mEnvModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mDatabaseModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 | [32m[Nest] 30 - [39m02/19/2024, 7:41:25 AM [32m LOG[39m [38;5;3m[InstanceLoader] [39m[32mHttpModule dependencies initialized[39m[38;5;3m +1ms[39m
app2-1 exited with code 137
app1-1 exited with code 137
nginx-1 exited with code 0
nginx-1 exited with code 0
postgres-1 | 2024-02-19 07:41:56.990 GMT [1] LOG: received fast shutdown request
postgres-1 | 2024-02-19 07:41:57.004 GMT [1] LOG: aborting any active transactions
postgres-1 | 2024-02-19 07:41:57.006 GMT [1] LOG: background worker "logical replication launcher" (PID 65) exited with exit code 1
postgres-1 | 2024-02-19 07:41:57.006 GMT [60] LOG: shutting down
postgres-1 | 2024-02-19 07:41:57.011 GMT [60] LOG: checkpoint starting: shutdown immediate
postgres-1 | 2024-02-19 07:41:57.175 GMT [60] LOG: checkpoint complete: wrote 126 buffers (0.8%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.011 s, sync=0.138 s, total=0.169 s; sync files=67, longest=0.132 s, average=0.003 s; distance=480 kB, estimate=480 kB; lsn=0/1562C90, redo lsn=0/1562C90
postgres-1 | 2024-02-19 07:41:57.185 GMT [1] LOG: database system is shut down
postgres-1 exited with code 0