-
Notifications
You must be signed in to change notification settings - Fork 928
/
docker-compose.logs
138 lines (138 loc) · 9.02 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
Network rinha-nginx-2024q1 Creating
Network rinha-nginx-2024q1 Created
Container mangar-golang-db-1 Creating
Container mangar-golang-db-1 Created
Container mangar-golang-api02-1 Creating
Container mangar-golang-api01-1 Creating
Container mangar-golang-api01-1 Created
Container mangar-golang-api02-1 Created
Container mangar-golang-nginx-1 Creating
Container mangar-golang-nginx-1 Created
Attaching to api01-1, api02-1, db-1, nginx-1
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 ... UTC
db-1 | creating configuration files ... ok
db-1 | running bootstrap script ... ok
db-1 | sh: locale: not found
db-1 | 2024-03-09 19:25:50.783 UTC [30] WARNING: no usable system locales were found
api01-1 | [2024-03-09 19:25:50.915643] [INFO] >>>>>>>>>> SERVER_01 <<<<<<<<<<
api01-1 | [2024-03-09 19:25:50.917557] [ERROR] [DB] Unable to ping database .. failed to connect to `host=db user=postgres database=postgres`: dial error (dial tcp 172.24.0.2:5432: connect: connection refused)
api02-1 | [2024-03-09 19:25:50.919738] [INFO] >>>>>>>>>> SERVER_02 <<<<<<<<<<
api02-1 | [2024-03-09 19:25:50.921318] [ERROR] [DB] Unable to ping database .. failed to connect to `host=db user=postgres database=postgres`: dial error (dial tcp 172.24.0.2:5432: connect: connection refused)
db-1 | performing post-bootstrap initialization ... ok
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
nginx-1 | 2024/03/09 19:25:52 [emerg] 1#1: host not found in upstream "api01:3000" in /etc/nginx/nginx.conf:11
nginx-1 | nginx: [emerg] host not found in upstream "api01:3000" in /etc/nginx/nginx.conf:11
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 | 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 | waiting for server to start.... done
db-1 | server started
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/postgresql.conf
db-1 |
db-1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/script_psql.sql
db-1 | CREATE TABLE
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | INSERT 0 1
db-1 | CREATE TABLE
db-1 | ALTER TABLE
db-1 | CREATE FUNCTION
db-1 | CREATE FUNCTION
db-1 |
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 exited with code 0
api02-1 exited with code 0
nginx-1 exited with code 0
api01-1 | [2024-03-09 19:25:53.615632] [INFO] [TEST] DB Connection OK
api01-1 | [2024-03-09 19:25:53.618926] [INFO] Routes OK
api01-1 |
api01-1 | ┌───────────────────────────────────────────────────┐
api01-1 | │ Fiber v2.52.1 │
api01-1 | │ http://127.0.0.1:3000 │
api01-1 | │ (bound on host 0.0.0.0 and port 3000) │
api01-1 | │ │
api01-1 | │ Handlers ............. 3 Processes ........... 1 │
api01-1 | │ Prefork ....... Disabled PID ................. 1 │
api01-1 | └───────────────────────────────────────────────────┘
api01-1 |
api02-1 | [2024-03-09 19:25:53.619310] [INFO] >>>>>>>>>> SERVER_02 <<<<<<<<<<
api02-1 | [2024-03-09 19:25:53.717753] [INFO] [TEST] DB Connection OK
api02-1 | [2024-03-09 19:25:53.719825] [INFO] Routes OK
api02-1 |
api02-1 | ┌───────────────────────────────────────────────────┐
api02-1 | │ Fiber v2.52.1 │
api02-1 | │ http://127.0.0.1:3000 │
api02-1 | │ (bound on host 0.0.0.0 and port 3000) │
api02-1 | │ │
api02-1 | │ Handlers ............. 3 Processes ........... 1 │
api02-1 | │ Prefork ....... Disabled PID ................. 1 │
api02-1 | └───────────────────────────────────────────────────┘
api02-1 |
api01-1 | [2024-03-09 19:26:03.234218] [INFO] [TransacaoController.Run] BodyParser
api02-1 | [2024-03-09 19:26:03.236048] [INFO] [TransacaoController.Run] Tipo de transacao invalida: x
api01-1 | [2024-03-09 19:26:03.237751] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.238806] [INFO] [TransacaoController.Run] BodyParser
api01-1 | [2024-03-09 19:26:03.240061] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.241593] [INFO] [TransacaoController.Run] Tipo de transacao invalida: x
api01-1 | [2024-03-09 19:26:03.241643] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.242512] [INFO] [TransacaoController.Run] BodyParser
api01-1 | [2024-03-09 19:26:03.243723] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.244723] [INFO] [TransacaoController.Run] BodyParser
api01-1 | [2024-03-09 19:26:03.245247] [INFO] [TransacaoController.Run] Tipo de transacao invalida: x
api02-1 | [2024-03-09 19:26:03.246774] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api01-1 | [2024-03-09 19:26:03.247068] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.247519] [INFO] [TransacaoController.Run] Tipo de transacao invalida: x
api01-1 | [2024-03-09 19:26:03.249070] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.249106] [INFO] [TransacaoController.Run] BodyParser
api01-1 | [2024-03-09 19:26:03.249500] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.250772] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api01-1 | [2024-03-09 19:26:03.251367] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.251853] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.253587] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api01-1 | [2024-03-09 19:26:03.253556] [INFO] [TransacaoController.Run] Tipo de transacao invalida: x
api01-1 | [2024-03-09 19:26:03.256350] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api02-1 | [2024-03-09 19:26:03.257906] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
api01-1 | [2024-03-09 19:26:03.259652] [INFO] [TransacaoController.Run] Descricao deve ter entre 1 e 10 caracteres
nginx-1 exited with code 0
nginx-1 exited with code 0
api01-1 exited with code 0
api01-1 exited with code 2
api02-1 exited with code 0
api02-1 exited with code 2
db-1 exited with code 0