Attaching to log-genius-project_db_1, log-genius-project_web_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 ... Etc/UTC
db_1 | creating configuration files ... ok
db_1 | running bootstrap script ... ok
db_1 | performing post-bootstrap initialization ... ok
db_1 | syncing data to disk ... ok
web_1 | yarn run v1.22.19
web_1 | $ node server.js
web_1 | Server is running on port 3000
web_1 | Error: connect ECONNREFUSED 172.23.0.2:5432
web_1 | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16) {
web_1 | errno: -111,
web_1 | code: 'ECONNREFUSED',
web_1 | syscall: 'connect',
web_1 | address: '172.23.0.2',
web_1 | port: 5432
web_1 | }
db_1 |
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/*
db_1 |
db_1 |
db_1 | 2024-05-21 12:34:56.789 UTC [1] LOG: starting PostgreSQL 13.14 (Debian 13.14-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
db_1 | 2024-05-21 12:34:56.789 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
db_1 | 2024-05-21 12:34:56.789 UTC [1] LOG: listening on IPv6 address "::", port 5432
db_1 | 2024-05-21 12:34:56.792 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
db_1 | 2024-05-21 12:34:56.796 UTC [60] LOG: database system was shut down at 2024-05-21 12:34:56 UTC
db_1 | 2024-05-21 12:34:56.800 UTC [1] LOG: database system is ready to accept connections