vagrant@ubuntu-bionic:~/test$ sudo docker-compose up
postgres is up-to-date
Starting nginx ...
statup is up-to-date
Starting nginx ... done
Attaching to postgres, statup, nginx
nginx | WARNING: /etc/nginx/dhparam/dhparam.pem was not found. A pre-generated dhparam.pem will be used for now while a new one
nginx | is being generated in the background. Once the new dhparam.pem is in place, nginx will be reloaded.
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 default max_connections ... 100
postgres | selecting default shared_buffers ... 128MB
postgres | selecting dynamic shared memory implementation ... posix
postgres | creating configuration files ... ok
postgres | running bootstrap script ... ok
postgres | performing post-bootstrap initialization ... ok
postgres | syncing data to disk ... ok
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 |
postgres | WARNING: enabling "trust" authentication for local connections
postgres | You can change this by editing pg_hba.conf or using the option -A, or
postgres | --auth-local and --auth-host, the next time you run initdb.
postgres | waiting for server to start....2018-10-03 13:24:12.545 UTC [40] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres | 2018-10-03 13:24:12.584 UTC [41] LOG: database system was shut down at 2018-10-03 13:24:12 UTC
postgres | 2018-10-03 13:24:12.606 UTC [40] LOG: database system is ready to accept connections
postgres | done
postgres | server started
postgres | CREATE DATABASE
postgres |
statup | INFO: Starting Statup v0.68
statup | INFO: DB_CONN environment variable was found, waiting for database...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
postgres |
postgres | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres |
postgres | 2018-10-03 13:24:12.954 UTC [40] LOG: received fast shutdown request
postgres | waiting for server to shut down....2018-10-03 13:24:12.955 UTC [40] LOG: aborting any active transactions
postgres | 2018-10-03 13:24:12.956 UTC [40] LOG: worker process: logical replication launcher (PID 47) exited with exit code 1
postgres | 2018-10-03 13:24:12.957 UTC [42] LOG: shutting down
postgres | 2018-10-03 13:24:12.998 UTC [40] LOG: database system is shut down
postgres | done
postgres | server stopped
postgres |
postgres | PostgreSQL init process complete; ready for start up.
postgres |
postgres | 2018-10-03 13:24:13.068 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres | 2018-10-03 13:24:13.068 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres | 2018-10-03 13:24:13.086 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres | 2018-10-03 13:24:13.119 UTC [58] LOG: database system was shut down at 2018-10-03 13:24:12 UTC
postgres | 2018-10-03 13:24:13.144 UTC [1] LOG: database system is ready to accept connections
nginx | forego | starting dockergen.1 on port 5000
nginx | forego | starting nginx.1 on port 5100
nginx | dockergen.1 | 2018/10/03 13:24:39 Generated '/etc/nginx/conf.d/default.conf' from 3 containers
nginx | dockergen.1 | 2018/10/03 13:24:39 Watching docker events
nginx | dockergen.1 | 2018/10/03 13:24:39 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
nginx | 2018/10/03 13:24:48 [notice] 44#44: signal process started
nginx | Generating DH parameters, 2048 bit long safe prime, generator 2
nginx | This is going to take a long time
nginx | dhparam generation complete, reloading nginx
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
statup | INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:12 INFO: Starting Statup v0.68
2018/10/03 13:24:12 INFO: DB_CONN environment variable was found, waiting for database...
2018/10/03 13:24:12 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:17 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:22 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:27 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:32 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:37 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:42 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:47 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:52 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:24:57 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:02 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:07 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:12 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:17 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:22 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:27 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:32 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:37 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:42 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:47 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:52 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:25:57 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:02 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:07 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:12 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:17 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:22 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:27 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:32 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:37 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:42 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:47 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:52 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:26:57 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:27:02 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:27:07 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...
2018/10/03 13:27:12 INFO: Database connection to 'postgres' is not available, trying again in 5 seconds...