-
Notifications
You must be signed in to change notification settings - Fork 923
/
Copy pathdocker-compose.logs
114 lines (114 loc) · 7.24 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
Network network-rinha Creating
Network network-rinha Created
Container postgres Creating
Container postgres Created
Container api-02 Creating
Container api-01 Creating
Container api-02 Created
Container api-01 Created
Container nginx Creating
Container nginx Created
Attaching to api-01, api-02, nginx, postgres
postgres | The files belonging to this database system will be owned by user "postgres".
postgres | This user must also own the server process.
postgres |
postgres | The database cluster will be initialized with locale "en_US.utf8".
postgres | The default database encoding has accordingly been set to "UTF8".
postgres | The default text search configuration will be set to "english".
postgres |
postgres | Data page checksums are disabled.
postgres |
postgres | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres | creating subdirectories ... ok
postgres | selecting dynamic shared memory implementation ... posix
postgres | selecting default max_connections ... 100
postgres | selecting default shared_buffers ... 128MB
postgres | selecting default time zone ... UTC
postgres | creating configuration files ... ok
api-01 | 2024/03/05 14:16:38 failed to ping on databasefailed to connect to `host=postgres user=user database=rinha_db`: dial error (dial tcp 192.168.64.2:5432: connect: connection refused)
api-02 | 2024/03/05 14:16:38 failed to ping on databasefailed to connect to `host=postgres user=user database=rinha_db`: dial error (dial tcp 192.168.64.2:5432: connect: connection refused)
postgres | running bootstrap script ... ok
postgres | sh: locale: not found
postgres | 2024-03-05 14:16:38.547 UTC [30] WARNING: no usable system locales were found
nginx | /docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
nginx | /docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
nginx | 10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
nginx | 10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
nginx | /docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
nginx | /docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
nginx | /docker-entrypoint.sh: Configuration complete; ready for start up
postgres | performing post-bootstrap initialization ... ok
postgres | syncing data to disk ... ok
postgres |
postgres |
postgres | Success. You can now start the database server using:
postgres |
postgres | pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres |
postgres | initdb: warning: enabling "trust" authentication for local connections
postgres | 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 | waiting for server to start....2024-03-05 14:16:40.891 GMT [36] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres | 2024-03-05 14:16:40.896 GMT [36] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres | 2024-03-05 14:16:40.911 GMT [39] LOG: database system was shut down at 2024-03-05 14:16:39 GMT
postgres | 2024-03-05 14:16:40.926 GMT [36] LOG: database system is ready to accept connections
postgres | done
postgres | server started
api-01 exited with code 0
postgres | CREATE DATABASE
postgres |
postgres |
postgres | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/init.sql
postgres | CREATE TABLE
postgres | CREATE TABLE
postgres | INSERT 0 5
postgres | CREATE INDEX
api-02 exited with code 0
postgres | CREATE INDEX
postgres | CREATE INDEX
postgres |
postgres |
postgres | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/postgresql.conf
postgres |
postgres | waiting for server to shut down....2024-03-05 14:16:41.127 GMT [36] LOG: received fast shutdown request
postgres | 2024-03-05 14:16:41.130 GMT [36] LOG: aborting any active transactions
postgres | 2024-03-05 14:16:41.134 GMT [36] LOG: background worker "logical replication launcher" (PID 42) exited with exit code 1
postgres | 2024-03-05 14:16:41.134 GMT [37] LOG: shutting down
postgres | 2024-03-05 14:16:41.155 GMT [37] LOG: checkpoint starting: shutdown immediate
postgres | 2024-03-05 14:16:41.687 GMT [37] LOG: checkpoint complete: wrote 939 buffers (9.2%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.376 s, sync=0.135 s, total=0.554 s; sync files=309, longest=0.052 s, average=0.001 s; distance=4309 kB, estimate=4309 kB; lsn=0/1925928, redo lsn=0/1925928
postgres | 2024-03-05 14:16:41.693 GMT [36] LOG: database system is shut down
postgres | done
postgres | server stopped
postgres |
postgres | PostgreSQL init process complete; ready for start up.
postgres |
postgres | 2024-03-05 14:16:42.206 GMT [1] LOG: starting PostgreSQL 16.2 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20231014) 13.2.1 20231014, 64-bit
postgres | 2024-03-05 14:16:42.206 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres | 2024-03-05 14:16:42.206 GMT [1] LOG: listening on IPv6 address "::", port 5432
postgres | 2024-03-05 14:16:42.216 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres | 2024-03-05 14:16:42.226 GMT [54] LOG: database system was shut down at 2024-03-05 14:16:41 GMT
postgres | 2024-03-05 14:16:42.248 GMT [1] LOG: database system is ready to accept connections
api-01 exited with code 0
api-02 exited with code 0
api-01 | 2024/03/05 14:16:43 INFO server is running...
api-01 | 2024/03/05 14:16:43 INFO server is running...
api-02 | 2024/03/05 14:16:43 INFO server is running...
api-02 | 2024/03/05 14:16:43 INFO server is running...
nginx | 2024/03/05 14:16:39 [emerg] 1#1: host not found in upstream "api-01:3001" in /etc/nginx/nginx.conf:27
nginx | nginx: [emerg] host not found in upstream "api-01:3001" in /etc/nginx/nginx.conf:27
nginx exited with code 0
nginx exited with code 0
nginx exited with code 0
api-01 exited with code 0
api-01 exited with code 2
api-02 exited with code 0
api-02 exited with code 2
postgres | 2024-03-05 14:20:58.953 GMT [1] LOG: received fast shutdown request
postgres | 2024-03-05 14:20:58.956 GMT [1] LOG: aborting any active transactions
postgres | 2024-03-05 14:20:58.959 GMT [1] LOG: background worker "logical replication launcher" (PID 57) exited with exit code 1
postgres | 2024-03-05 14:20:58.959 GMT [52] LOG: shutting down
postgres | 2024-03-05 14:20:58.963 GMT [52] LOG: checkpoint starting: shutdown immediate
postgres | 2024-03-05 14:20:59.158 GMT [52] LOG: checkpoint complete: wrote 943 buffers (9.2%); 0 WAL file(s) added, 0 removed, 1 recycled; write=0.011 s, sync=0.165 s, total=0.199 s; sync files=32, longest=0.157 s, average=0.006 s; distance=21132 kB, estimate=21132 kB; lsn=0/2DC8CD8, redo lsn=0/2DC8CD8
postgres | 2024-03-05 14:20:59.162 GMT [1] LOG: database system is shut down
postgres exited with code 0