Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [user@HP-Pavilion-g6 .docker]$ docker-compose up
- Creating network "docker_default" with the default driver
- Creating docker_db_1 ... done
- Creating docker_web_1 ... done
- Attaching to docker_db_1, docker_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 default max_connections ... 100
- db_1 | selecting default shared_buffers ... 128MB
- db_1 | selecting default timezone ... Etc/UTC
- db_1 | selecting dynamic shared memory implementation ... posix
- 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
- db_1 |
- db_1 | WARNING: enabling "trust" authentication for local connections
- db_1 | You can change this by editing pg_hba.conf or using the option -A, or
- db_1 | --auth-local and --auth-host, the next time you run initdb.
- 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....2020-06-26 05:21:05.945 UTC [46] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
- db_1 | 2020-06-26 05:21:06.091 UTC [47] LOG: database system was shut down at 2020-06-26 05:21:04 UTC
- db_1 | 2020-06-26 05:21:06.149 UTC [46] LOG: database system is ready to accept connections
- db_1 | done
- db_1 | server started
- db_1 |
- db_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
- db_1 |
- db_1 | waiting for server to shut down....2020-06-26 05:21:06.200 UTC [46] LOG: received fast shutdown request
- db_1 | 2020-06-26 05:21:06.299 UTC [46] LOG: aborting any active transactions
- db_1 | 2020-06-26 05:21:06.303 UTC [46] LOG: worker process: logical replication launcher (PID 53) exited with exit code 1
- db_1 | 2020-06-26 05:21:06.303 UTC [48] LOG: shutting down
- db_1 | 2020-06-26 05:21:06.610 UTC [46] LOG: database system is shut down
- db_1 | done
- db_1 | server stopped
- db_1 |
- db_1 | PostgreSQL init process complete; ready for start up.
- db_1 |
- db_1 | 2020-06-26 05:21:06.710 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
- db_1 | 2020-06-26 05:21:06.711 UTC [1] LOG: listening on IPv6 address "::", port 5432
- db_1 | 2020-06-26 05:21:06.809 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
- db_1 | 2020-06-26 05:21:06.933 UTC [55] LOG: database system was shut down at 2020-06-26 05:21:06 UTC
- db_1 | 2020-06-26 05:21:06.983 UTC [1] LOG: database system is ready to accept connections
- db_1 | 2020-06-26 05:21:32.299 UTC [67] FATAL: role "root" does not exist
- db_1 | 2020-06-26 05:22:03.434 UTC [73] FATAL: role "root" does not exist
- web_1 | Database connection failure: could not connect to server: No route to host
- web_1 | Is the server running on host "db" (172.19.0.2) and accepting
- web_1 | TCP/IP connections on port 5432?
- web_1 |
- docker_web_1 exited with code 1
Add Comment
Please, Sign In to add comment