Created
March 28, 2015 12:57
-
-
Save phrb/12991c523ff964ea6b08 to your computer and use it in GitHub Desktop.
Running the App
This file contains hidden or 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
% sudo docker-compose up | |
Creating justiceleague_db_1... | |
Creating justiceleague_web_1... | |
Attaching to justiceleague_db_1, justiceleague_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 dynamic shared memory implementation ... posix | |
db_1 | creating configuration files ... ok | |
db_1 | creating template1 database in /var/lib/postgresql/data/base/1 ... ok | |
db_1 | initializing pg_authid ... ok | |
db_1 | initializing dependencies ... ok | |
db_1 | ok | |
db_1 | loading system objects' descriptions ... ok | |
db_1 | creating collations ... ok | |
db_1 | creating conversions ... ok | |
db_1 | creating dictionaries ... ok | |
db_1 | setting privileges on built-in objects ... ok | |
db_1 | creating information schema ... ok | |
db_1 | loading PL/pgSQL server-side language ... ok | |
db_1 | vacuuming database template1 ... ok | |
db_1 | copying template1 to template0 ... ok | |
db_1 | copying template1 to postgres ... ok | |
db_1 | syncing data to disk ... ok | |
db_1 | | |
db_1 | Success. You can now start the database server using: | |
db_1 | | |
db_1 | postgres -D /var/lib/postgresql/data | |
db_1 | or | |
db_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start | |
db_1 | | |
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 | WARNING: No password has been set for the database. | |
db_1 | This will allow anyone with access to the | |
db_1 | Postgres port to access your database. In | |
db_1 | Docker's default configuration, this is | |
db_1 | effectively any other container on the same | |
db_1 | system. | |
db_1 | | |
db_1 | Use "-e POSTGRES_PASSWORD=password" to set | |
db_1 | it in "docker run". | |
db_1 | **************************************************** | |
web_1 | => Booting WEBrick | |
web_1 | => Rails 4.2.0 application starting in development on http://0.0.0.0:3000 | |
web_1 | => Run `rails server -h` for more startup options | |
web_1 | => Ctrl-C to shutdown server | |
db_1 | | |
db_1 | PostgreSQL stand-alone backend 9.4.1 | |
db_1 | backend> statement: ALTER USER "postgres" WITH SUPERUSER ; | |
db_1 | | |
db_1 | backend> | |
db_1 | LOG: database system was shut down at 2015-03-28 12:55:00 UTC | |
web_1 | [2015-03-28 12:55:00] INFO WEBrick 1.3.1 | |
web_1 | [2015-03-28 12:55:00] INFO ruby 2.2.0 (2014-12-25) [x86_64-linux] | |
web_1 | [2015-03-28 12:55:00] INFO WEBrick::HTTPServer#start: pid=1 port=3000 | |
db_1 | LOG: autovacuum launcher started | |
db_1 | LOG: database system is ready to accept connections | |
web_1 | | |
web_1 | | |
web_1 | Started GET "/" for 172.17.42.1 at 2015-03-28 12:55:12 +0000 | |
web_1 | Cannot render console from 172.17.42.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255 | |
web_1 | Processing by WelcomeController#index as HTML | |
web_1 | Rendered welcome/index.html.erb within layouts/application (1.6ms) | |
web_1 | Completed 200 OK in 76ms (Views: 64.8ms | ActiveRecord: 0.0ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment