Last active
June 28, 2017 04:16
-
-
Save ferbncode/08b6f9e8dd0bcd0416a4f15ace8feffe to your computer and use it in GitHub Desktop.
docker-compose -f docker-compose.dev.yml up --build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ critiquebrainz git:(master) ✗ docker-compose -f docker/docker-compose.dev.yml up --build | |
Building db | |
Step 1/2 : FROM postgres:9.5.4 | |
---> 2417ea518abc | |
Step 2/2 : ADD create_extensions.sql /docker-entrypoint-initdb.d/ | |
---> Using cache | |
---> 8d41a43b5b71 | |
Successfully built 8d41a43b5b71 | |
Successfully tagged docker_db:latest | |
Building db_test | |
Step 1/2 : FROM postgres:9.5.4 | |
---> 2417ea518abc | |
Step 2/2 : ADD create_extensions.sql /docker-entrypoint-initdb.d/ | |
---> Using cache | |
---> 8d41a43b5b71 | |
Successfully built 8d41a43b5b71 | |
Successfully tagged docker_db_test:latest | |
Building critiquebrainz | |
Step 1/16 : FROM metabrainz/python:3.6 | |
---> 8807c4061568 | |
Step 2/16 : RUN apt-get update && apt-get install -y --no-install-recommends build-essential ca-certificates cron git libpq-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev && rm -rf /var/lib/apt/lists/* | |
---> Using cache | |
---> 3a0f22af8a9f | |
Step 3/16 : RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 | |
---> Using cache | |
---> c628ef5e0f54 | |
Step 4/16 : ENV PG_MAJOR 9.5 | |
---> Using cache | |
---> 992c263b2c2f | |
Step 5/16 : RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' $PG_MAJOR > /etc/apt/sources.list.d/pgdg.list | |
---> Using cache | |
---> ee46f0598d93 | |
Step 6/16 : RUN apt-get update && apt-get install -y postgresql-client-$PG_MAJOR && rm -rf /var/lib/apt/lists/* | |
---> Using cache | |
---> 5d6635fc2fe7 | |
Step 7/16 : ENV PGPASSWORD "critiquebrainz" | |
---> Using cache | |
---> 9a0e2ea978e6 | |
Step 8/16 : RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - | |
---> Using cache | |
---> 163714100ec4 | |
Step 9/16 : RUN apt-get install -y nodejs | |
---> Using cache | |
---> 2f9908ab719d | |
Step 10/16 : RUN mkdir /code | |
---> Using cache | |
---> 6f5f52b74e25 | |
Step 11/16 : WORKDIR /code | |
---> Using cache | |
---> c792cc6ebdc9 | |
Step 12/16 : COPY requirements.txt /code/ | |
---> Using cache | |
---> 052e8609f4e4 | |
Step 13/16 : RUN pip install -r requirements.txt | |
---> Using cache | |
---> 48023263676e | |
Step 14/16 : COPY . /code/ | |
---> Using cache | |
---> f8eaf8c221ec | |
Step 15/16 : RUN pybabel compile -d critiquebrainz/frontend/translations | |
---> Using cache | |
---> f4fdbbd60d26 | |
Step 16/16 : CMD python3 manage.py runserver -h 0.0.0.0 -p 80 -d | |
---> Using cache | |
---> d2e67376d977 | |
Successfully built d2e67376d977 | |
Successfully tagged docker_critiquebrainz:latest | |
Creating docker_critiquebrainz_redis_1 | |
Creating docker_db_test_1 | |
Creating docker_musicbrainz_db_1 | |
Creating docker_db_1 | |
Creating docker_critiquebrainz_1 | |
Attaching to docker_critiquebrainz_redis_1, docker_db_test_1, docker_db_1, docker_musicbrainz_db_1, docker_critiquebrainz_1 | |
critiquebrainz_redis_1 | _._ | |
critiquebrainz_redis_1 | _.-``__ ''-._ | |
critiquebrainz_redis_1 | _.-`` `. `_. ''-._ Redis 3.2.1 (00000000/0) 64 bit | |
critiquebrainz_redis_1 | .-`` .-```. ```\/ _.,_ ''-._ | |
critiquebrainz_redis_1 | ( ' , .-` | `, ) Running in standalone mode | |
critiquebrainz_redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | |
critiquebrainz_redis_1 | | `-._ `._ / _.-' | PID: 1 | |
critiquebrainz_redis_1 | `-._ `-._ `-./ _.-' _.-' | |
critiquebrainz_redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
critiquebrainz_redis_1 | | `-._`-._ _.-'_.-' | http://redis.io | |
critiquebrainz_redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
critiquebrainz_redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
critiquebrainz_redis_1 | | `-._`-._ _.-'_.-' | | |
critiquebrainz_redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
critiquebrainz_redis_1 | `-._ `-.__.-' _.-' | |
critiquebrainz_redis_1 | `-._ _.-' | |
critiquebrainz_redis_1 | `-.__.-' | |
critiquebrainz_redis_1 | | |
critiquebrainz_redis_1 | 1:M 27 Jun 17:15:45.913 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | |
critiquebrainz_redis_1 | 1:M 27 Jun 17:15:45.914 # Server started, Redis version 3.2.1 | |
db_test_1 | The files belonging to this database system will be owned by user "postgres". | |
db_test_1 | This user must also own the server process. | |
db_test_1 | | |
critiquebrainz_redis_1 | 1:M 27 Jun 17:15:45.914 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | |
db_test_1 | The database cluster will be initialized with locale "en_US.utf8". | |
db_test_1 | The default database encoding has accordingly been set to "UTF8". | |
db_test_1 | The default text search configuration will be set to "english". | |
db_test_1 | | |
db_test_1 | Data page checksums are disabled. | |
db_test_1 | | |
db_test_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok | |
critiquebrainz_redis_1 | 1:M 27 Jun 17:15:45.914 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. | |
critiquebrainz_redis_1 | 1:M 27 Jun 17:15:45.914 * The server is now ready to accept connections on port 6379 | |
db_1 | LOG: database system was shut down at 2017-06-27 17:14:32 UTC | |
musicbrainz_db_1 | The files belonging to this database system will be owned by user "postgres". | |
musicbrainz_db_1 | This user must also own the server process. | |
musicbrainz_db_1 | | |
db_test_1 | creating subdirectories ... ok | |
db_1 | LOG: MultiXact member wraparound protections are now enabled | |
musicbrainz_db_1 | The database cluster will be initialized with locale "en_US.utf8". | |
musicbrainz_db_1 | The default database encoding has accordingly been set to "UTF8". | |
musicbrainz_db_1 | The default text search configuration will be set to "english". | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Data page checksums are disabled. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok | |
musicbrainz_db_1 | creating subdirectories ... ok | |
db_1 | LOG: database system is ready to accept connections | |
db_test_1 | selecting default max_connections ... 100 | |
musicbrainz_db_1 | selecting default max_connections ... 100 | |
db_1 | LOG: autovacuum launcher started | |
db_test_1 | selecting default shared_buffers ... 128MB | |
db_test_1 | selecting dynamic shared memory implementation ... posix | |
musicbrainz_db_1 | selecting default shared_buffers ... 128MB | |
db_test_1 | creating configuration files ... ok | |
db_test_1 | creating template1 database in /var/lib/postgresql/data/base/1 ... ok | |
musicbrainz_db_1 | selecting dynamic shared memory implementation ... posix | |
db_test_1 | initializing pg_authid ... ok | |
musicbrainz_db_1 | creating configuration files ... ok | |
db_test_1 | initializing dependencies ... ok | |
db_test_1 | creating system views ... ok | |
db_test_1 | loading system objects' descriptions ... ok | |
musicbrainz_db_1 | creating template1 database in /var/lib/postgresql/data/pgdata/base/1 ... ok | |
db_test_1 | creating collations ... ok | |
db_test_1 | creating conversions ... ok | |
db_test_1 | creating dictionaries ... ok | |
db_test_1 | setting privileges on built-in objects ... ok | |
db_test_1 | creating information schema ... ok | |
db_test_1 | loading PL/pgSQL server-side language ... ok | |
musicbrainz_db_1 | initializing pg_authid ... ok | |
musicbrainz_db_1 | initializing dependencies ... ok | |
db_test_1 | vacuuming database template1 ... ok | |
musicbrainz_db_1 | creating system views ... ok | |
db_test_1 | copying template1 to template0 ... ok | |
db_test_1 | copying template1 to postgres ... ok | |
musicbrainz_db_1 | loading system objects' descriptions ... ok | |
db_test_1 | syncing data to disk ... | |
db_test_1 | WARNING: enabling "trust" authentication for local connections | |
db_test_1 | You can change this by editing pg_hba.conf or using the option -A, or | |
db_test_1 | --auth-local and --auth-host, the next time you run initdb. | |
musicbrainz_db_1 | creating collations ... ok | |
db_test_1 | ok | |
db_test_1 | | |
db_test_1 | Success. You can now start the database server using: | |
db_test_1 | | |
db_test_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start | |
db_test_1 | | |
musicbrainz_db_1 | creating conversions ... ok | |
db_test_1 | waiting for server to start....LOG: could not bind IPv6 socket: Cannot assign requested address | |
db_test_1 | HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. | |
musicbrainz_db_1 | creating dictionaries ... ok | |
musicbrainz_db_1 | setting privileges on built-in objects ... ok | |
musicbrainz_db_1 | creating information schema ... ok | |
musicbrainz_db_1 | loading PL/pgSQL server-side language ... ok | |
musicbrainz_db_1 | vacuuming database template1 ... ok | |
musicbrainz_db_1 | copying template1 to template0 ... ok | |
musicbrainz_db_1 | copying template1 to postgres ... ok | |
musicbrainz_db_1 | syncing data to disk ... ok | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Success. You can now start the database server using: | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | WARNING: enabling "trust" authentication for local connections | |
musicbrainz_db_1 | You can change this by editing pg_hba.conf or using the option -A, or | |
musicbrainz_db_1 | --auth-local and --auth-host, the next time you run initdb. | |
musicbrainz_db_1 | **************************************************** | |
musicbrainz_db_1 | WARNING: No password has been set for the database. | |
musicbrainz_db_1 | This will allow anyone with access to the | |
musicbrainz_db_1 | Postgres port to access your database. In | |
musicbrainz_db_1 | Docker's default configuration, this is | |
musicbrainz_db_1 | effectively any other container on the same | |
musicbrainz_db_1 | system. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Use "-e POSTGRES_PASSWORD=password" to set | |
musicbrainz_db_1 | it in "docker run". | |
musicbrainz_db_1 | **************************************************** | |
musicbrainz_db_1 | waiting for server to start....LOG: could not bind IPv6 socket: Cannot assign requested address | |
musicbrainz_db_1 | HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. | |
musicbrainz_db_1 | LOG: database system was shut down at 2017-06-27 17:15:49 UTC | |
musicbrainz_db_1 | LOG: MultiXact member wraparound protections are now enabled | |
musicbrainz_db_1 | LOG: database system is ready to accept connections | |
musicbrainz_db_1 | LOG: autovacuum launcher started | |
db_test_1 | LOG: database system was shut down at 2017-06-27 17:15:47 UTC | |
db_test_1 | LOG: MultiXact member wraparound protections are now enabled | |
db_test_1 | LOG: database system is ready to accept connections | |
db_test_1 | LOG: autovacuum launcher started | |
musicbrainz_db_1 | done | |
musicbrainz_db_1 | server started | |
musicbrainz_db_1 | ALTER ROLE | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/create_test_db.sh | |
db_test_1 | done | |
db_test_1 | server started | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
db_test_1 | CREATE DATABASE | |
db_test_1 | | |
db_test_1 | CREATE ROLE | |
db_test_1 | | |
db_test_1 | | |
db_test_1 | /docker-entrypoint.sh: running /docker-entrypoint-initdb.d/create_extensions.sql | |
db_test_1 | CREATE EXTENSION | |
db_test_1 | | |
db_test_1 | | |
db_test_1 | LOG: received fast shutdown request | |
db_test_1 | LOG: aborting any active transactions | |
db_test_1 | waiting for server to shut down...LOG: autovacuum launcher shutting down | |
db_test_1 | .LOG: shutting down | |
db_test_1 | LOG: database system is shut down | |
100 16 100 16 0 0 20 0 --:--:-- --:--:-- --:--:-- 20 | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
critiquebrainz_1 | * Running on http://0.0.0.0:80/ (Press CTRL+C to quit) | |
critiquebrainz_1 | * Restarting with stat | |
db_test_1 | done | |
db_test_1 | server stopped | |
db_test_1 | | |
db_test_1 | PostgreSQL init process complete; ready for start up. | |
db_test_1 | | |
db_test_1 | LOG: database system was shut down at 2017-06-27 17:15:53 UTC | |
db_test_1 | LOG: MultiXact member wraparound protections are now enabled | |
db_test_1 | LOG: database system is ready to accept connections | |
db_test_1 | LOG: autovacuum launcher started | |
critiquebrainz_1 | * Debugger is active! | |
critiquebrainz_1 | * Debugger PIN: 110-607-670 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting docker_musicbrainz_db_1 | |
Starting docker_db_test_1 | |
Starting docker_db_1 | |
Starting docker_critiquebrainz_redis_1 | |
Starting docker_critiquebrainz_1 | |
Attaching to docker_musicbrainz_db_1, docker_critiquebrainz_redis_1, docker_db_1, docker_db_test_1, docker_critiquebrainz_1 | |
musicbrainz_db_1 | The files belonging to this database system will be owned by user "postgres". | |
musicbrainz_db_1 | This user must also own the server process. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | The database cluster will be initialized with locale "en_US.utf8". | |
musicbrainz_db_1 | The default database encoding has accordingly been set to "UTF8". | |
musicbrainz_db_1 | The default text search configuration will be set to "english". | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Data page checksums are disabled. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok | |
musicbrainz_db_1 | creating subdirectories ... ok | |
musicbrainz_db_1 | selecting default max_connections ... 100 | |
musicbrainz_db_1 | selecting default shared_buffers ... 128MB | |
musicbrainz_db_1 | selecting dynamic shared memory implementation ... posix | |
musicbrainz_db_1 | creating configuration files ... ok | |
musicbrainz_db_1 | creating template1 database in /var/lib/postgresql/data/pgdata/base/1 ... ok | |
musicbrainz_db_1 | initializing pg_authid ... ok | |
musicbrainz_db_1 | initializing dependencies ... ok | |
musicbrainz_db_1 | creating system views ... ok | |
musicbrainz_db_1 | loading system objects' descriptions ... ok | |
musicbrainz_db_1 | creating collations ... ok | |
musicbrainz_db_1 | creating conversions ... ok | |
musicbrainz_db_1 | creating dictionaries ... ok | |
musicbrainz_db_1 | setting privileges on built-in objects ... ok | |
musicbrainz_db_1 | creating information schema ... ok | |
musicbrainz_db_1 | loading PL/pgSQL server-side language ... ok | |
musicbrainz_db_1 | vacuuming database template1 ... ok | |
musicbrainz_db_1 | copying template1 to template0 ... ok | |
musicbrainz_db_1 | copying template1 to postgres ... ok | |
musicbrainz_db_1 | syncing data to disk ... ok | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Success. You can now start the database server using: | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start | |
musicbrainz_db_1 | | |
critiquebrainz_redis_1 | _._ | |
critiquebrainz_redis_1 | _.-``__ ''-._ | |
critiquebrainz_redis_1 | _.-`` `. `_. ''-._ Redis 3.2.1 (00000000/0) 64 bit | |
critiquebrainz_redis_1 | .-`` .-```. ```\/ _.,_ ''-._ | |
critiquebrainz_redis_1 | ( ' , .-` | `, ) Running in standalone mode | |
critiquebrainz_redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | |
critiquebrainz_redis_1 | | `-._ `._ / _.-' | PID: 1 | |
critiquebrainz_redis_1 | `-._ `-._ `-./ _.-' _.-' | |
critiquebrainz_redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
critiquebrainz_redis_1 | | `-._`-._ _.-'_.-' | http://redis.io | |
critiquebrainz_redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
critiquebrainz_redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
critiquebrainz_redis_1 | | `-._`-._ _.-'_.-' | | |
critiquebrainz_redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
critiquebrainz_redis_1 | `-._ `-.__.-' _.-' | |
critiquebrainz_redis_1 | `-._ _.-' | |
critiquebrainz_redis_1 | `-.__.-' | |
critiquebrainz_redis_1 | | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | WARNING: enabling "trust" authentication for local connections | |
musicbrainz_db_1 | You can change this by editing pg_hba.conf or using the option -A, or | |
musicbrainz_db_1 | --auth-local and --auth-host, the next time you run initdb. | |
musicbrainz_db_1 | **************************************************** | |
musicbrainz_db_1 | WARNING: No password has been set for the database. | |
musicbrainz_db_1 | This will allow anyone with access to the | |
musicbrainz_db_1 | Postgres port to access your database. In | |
musicbrainz_db_1 | Docker's default configuration, this is | |
musicbrainz_db_1 | effectively any other container on the same | |
musicbrainz_db_1 | system. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Use "-e POSTGRES_PASSWORD=password" to set | |
musicbrainz_db_1 | it in "docker run". | |
musicbrainz_db_1 | **************************************************** | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.637 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 # Server started, Redis version 3.2.1 | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 * The server is now ready to accept connections on port 6379 | |
db_1 | LOG: database system was shut down at 2017-06-27 16:19:47 UTC | |
db_1 | LOG: MultiXact member wraparound protections are now enabled | |
db_1 | LOG: database system is ready to accept connections | |
db_1 | LOG: autovacuum launcher started | |
db_test_1 | LOG: database system was shut down at 2017-06-27 16:19:47 UTC | |
db_test_1 | LOG: MultiXact member wraparound protections are now enabled | |
db_test_1 | LOG: database system is ready to accept connections | |
db_test_1 | LOG: autovacuum launcher started | |
musicbrainz_db_1 | waiting for server to start....LOG: could not bind IPv6 socket: Cannot assign requested address | |
musicbrainz_db_1 | HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. | |
musicbrainz_db_1 | LOG: database system was shut down at 2017-06-27 16:25:42 UTC | |
musicbrainz_db_1 | LOG: MultiXact member wraparound protections are now enabled | |
musicbrainz_db_1 | LOG: database system is ready to accept connections | |
musicbrainz_db_1 | LOG: autovacuum launcher started | |
musicbrainz_db_1 | done | |
musicbrainz_db_1 | server started | |
musicbrainz_db_1 | ALTER ROLE | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/create_test_db.sh | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
critiquebrainz_1 | * Running on http://0.0.0.0:80/ (Press CTRL+C to quit) | |
critiquebrainz_1 | * Restarting with stat | |
100 16 100 16 0 0 6 0 0:00:02 0:00:02 --:--:-- 6 | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
critiquebrainz_1 | * Debugger is active! | |
critiquebrainz_1 | * Debugger PIN: 110-607-670 | |
100 133M 100 133M 0 0 871k 0 0:02:37 0:02:37 --:--:-- 1395k | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker-compose -f docker/docker-compose.dev.yml up | |
Starting docker_musicbrainz_db_1 | |
Starting docker_db_test_1 | |
Starting docker_db_1 | |
Starting docker_critiquebrainz_redis_1 | |
Starting docker_critiquebrainz_1 | |
Attaching to docker_musicbrainz_db_1, docker_critiquebrainz_redis_1, docker_db_1, docker_db_test_1, docker_critiquebrainz_1 | |
musicbrainz_db_1 | The files belonging to this database system will be owned by user "postgres". | |
musicbrainz_db_1 | This user must also own the server process. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | The database cluster will be initialized with locale "en_US.utf8". | |
musicbrainz_db_1 | The default database encoding has accordingly been set to "UTF8". | |
musicbrainz_db_1 | The default text search configuration will be set to "english". | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Data page checksums are disabled. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | fixing permissions on existing directory /var/lib/postgresql/data/pgdata ... ok | |
musicbrainz_db_1 | creating subdirectories ... ok | |
musicbrainz_db_1 | selecting default max_connections ... 100 | |
musicbrainz_db_1 | selecting default shared_buffers ... 128MB | |
musicbrainz_db_1 | selecting dynamic shared memory implementation ... posix | |
musicbrainz_db_1 | creating configuration files ... ok | |
musicbrainz_db_1 | creating template1 database in /var/lib/postgresql/data/pgdata/base/1 ... ok | |
musicbrainz_db_1 | initializing pg_authid ... ok | |
musicbrainz_db_1 | initializing dependencies ... ok | |
musicbrainz_db_1 | creating system views ... ok | |
musicbrainz_db_1 | loading system objects' descriptions ... ok | |
musicbrainz_db_1 | creating collations ... ok | |
musicbrainz_db_1 | creating conversions ... ok | |
musicbrainz_db_1 | creating dictionaries ... ok | |
musicbrainz_db_1 | setting privileges on built-in objects ... ok | |
musicbrainz_db_1 | creating information schema ... ok | |
musicbrainz_db_1 | loading PL/pgSQL server-side language ... ok | |
musicbrainz_db_1 | vacuuming database template1 ... ok | |
musicbrainz_db_1 | copying template1 to template0 ... ok | |
musicbrainz_db_1 | copying template1 to postgres ... ok | |
musicbrainz_db_1 | syncing data to disk ... ok | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Success. You can now start the database server using: | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | pg_ctl -D /var/lib/postgresql/data/pgdata -l logfile start | |
musicbrainz_db_1 | | |
critiquebrainz_redis_1 | _._ | |
critiquebrainz_redis_1 | _.-``__ ''-._ | |
critiquebrainz_redis_1 | _.-`` `. `_. ''-._ Redis 3.2.1 (00000000/0) 64 bit | |
critiquebrainz_redis_1 | .-`` .-```. ```\/ _.,_ ''-._ | |
critiquebrainz_redis_1 | ( ' , .-` | `, ) Running in standalone mode | |
critiquebrainz_redis_1 | |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | |
critiquebrainz_redis_1 | | `-._ `._ / _.-' | PID: 1 | |
critiquebrainz_redis_1 | `-._ `-._ `-./ _.-' _.-' | |
critiquebrainz_redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
critiquebrainz_redis_1 | | `-._`-._ _.-'_.-' | http://redis.io | |
critiquebrainz_redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
critiquebrainz_redis_1 | |`-._`-._ `-.__.-' _.-'_.-'| | |
critiquebrainz_redis_1 | | `-._`-._ _.-'_.-' | | |
critiquebrainz_redis_1 | `-._ `-._`-.__.-'_.-' _.-' | |
critiquebrainz_redis_1 | `-._ `-.__.-' _.-' | |
critiquebrainz_redis_1 | `-._ _.-' | |
critiquebrainz_redis_1 | `-.__.-' | |
critiquebrainz_redis_1 | | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | WARNING: enabling "trust" authentication for local connections | |
musicbrainz_db_1 | You can change this by editing pg_hba.conf or using the option -A, or | |
musicbrainz_db_1 | --auth-local and --auth-host, the next time you run initdb. | |
musicbrainz_db_1 | **************************************************** | |
musicbrainz_db_1 | WARNING: No password has been set for the database. | |
musicbrainz_db_1 | This will allow anyone with access to the | |
musicbrainz_db_1 | Postgres port to access your database. In | |
musicbrainz_db_1 | Docker's default configuration, this is | |
musicbrainz_db_1 | effectively any other container on the same | |
musicbrainz_db_1 | system. | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | Use "-e POSTGRES_PASSWORD=password" to set | |
musicbrainz_db_1 | it in "docker run". | |
musicbrainz_db_1 | **************************************************** | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.637 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 # Server started, Redis version 3.2.1 | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect. | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled. | |
critiquebrainz_redis_1 | 1:M 27 Jun 16:25:41.638 * The server is now ready to accept connections on port 6379 | |
db_1 | LOG: database system was shut down at 2017-06-27 16:19:47 UTC | |
db_1 | LOG: MultiXact member wraparound protections are now enabled | |
db_1 | LOG: database system is ready to accept connections | |
db_1 | LOG: autovacuum launcher started | |
db_test_1 | LOG: database system was shut down at 2017-06-27 16:19:47 UTC | |
db_test_1 | LOG: MultiXact member wraparound protections are now enabled | |
db_test_1 | LOG: database system is ready to accept connections | |
db_test_1 | LOG: autovacuum launcher started | |
musicbrainz_db_1 | waiting for server to start....LOG: could not bind IPv6 socket: Cannot assign requested address | |
musicbrainz_db_1 | HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry. | |
musicbrainz_db_1 | LOG: database system was shut down at 2017-06-27 16:25:42 UTC | |
musicbrainz_db_1 | LOG: MultiXact member wraparound protections are now enabled | |
musicbrainz_db_1 | LOG: database system is ready to accept connections | |
musicbrainz_db_1 | LOG: autovacuum launcher started | |
musicbrainz_db_1 | done | |
musicbrainz_db_1 | server started | |
musicbrainz_db_1 | ALTER ROLE | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | | |
musicbrainz_db_1 | /usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/create_test_db.sh | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
critiquebrainz_1 | * Running on http://0.0.0.0:80/ (Press CTRL+C to quit) | |
critiquebrainz_1 | * Restarting with stat | |
100 16 100 16 0 0 6 0 0:00:02 0:00:02 --:--:-- 6 | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
critiquebrainz_1 | * Debugger is active! | |
critiquebrainz_1 | * Debugger PIN: 110-607-670 | |
100 133M 100 133M 0 0 871k 0 0:02:37 0:02:37 --:--:-- 1395k | |
musicbrainz_db_1 | % Total % Received % Xferd Average Speed Time Time Time Current | |
musicbrainz_db_1 | Dload Upload Total Spent Left Speed | |
18 2357M 18 428M 0 0 324k 0 2:03:53 0:22:31 1:41:22 0curl: (56) Recv failure: Connection reset by peer | |
docker_musicbrainz_db_1 exited with code 56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment