質問編集履歴

2

タイトルの修正

2020/09/27 09:12

投稿

yamada_yuuki
yamada_yuuki

スコア100

test CHANGED
@@ -1 +1 @@
1
- dockerでlocalhostにアクセスできない
1
+ rails6とdockerでlocalhostにアクセスできない
test CHANGED
File without changes

1

情報の追加

2020/09/27 09:12

投稿

yamada_yuuki
yamada_yuuki

スコア100

test CHANGED
File without changes
test CHANGED
@@ -22,117 +22,27 @@
22
22
 
23
23
  docker-compose up
24
24
 
25
- Creating network "code-sell_default" with the default driver
25
+ Starting myapp_db_1 ... done
26
26
 
27
- Creating myapp_db_1 ... done
27
+ Starting myapp_web_1 ... done
28
28
 
29
- Creating myapp_web_1 ... done
30
-
31
- Attaching to code-sell_db_1, code-sell_web_1
29
+ Attaching to myapp_db_1, myapp_web_1
32
-
33
- db_1 | The files belonging to this database system will be owned by user "postgres".
34
-
35
- db_1 | This user must also own the server process.
36
30
 
37
31
  db_1 |
38
32
 
39
- db_1 | The database cluster will be initialized with locale "en_US.utf8".
40
-
41
- db_1 | The default database encoding has accordingly been set to "UTF8".
33
+ db_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
42
-
43
- db_1 | The default text search configuration will be set to "english".
44
34
 
45
35
  db_1 |
46
36
 
47
- db_1 | Data page checksums are disabled.
37
+ db_1 | 2020-09-27 09:05:55.252 UTC [1] LOG: starting PostgreSQL 13.0 (Debian 13.0-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
48
38
 
49
- db_1 |
39
+ db_1 | 2020-09-27 09:05:55.253 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
50
40
 
51
- db_1 | fixing permissions on existing directory /var/lib/postgresql/data ... ok
41
+ db_1 | 2020-09-27 09:05:55.254 UTC [1] LOG: listening on IPv6 address "::", port 5432
52
42
 
53
- db_1 | creating subdirectories ... ok
43
+ db_1 | 2020-09-27 09:05:55.260 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
54
44
 
55
- db_1 | selecting dynamic shared memory implementation ... posix
56
-
57
- db_1 | selecting default max_connections ... 100
58
-
59
- db_1 | selecting default shared_buffers ... 128MB
60
-
61
- db_1 | selecting default time zone ... Etc/UTC
62
-
63
- db_1 | creating configuration files ... ok
64
-
65
- db_1 | running bootstrap script ... ok
66
-
67
- db_1 | performing post-bootstrap initialization ... ok
68
-
69
- db_1 | syncing data to disk ... ok
70
-
71
- db_1 |
72
-
73
- db_1 | initdb: warning: enabling "trust" authentication for local connections
74
-
75
- db_1 | You can change this by editing pg_hba.conf or using the option -A, or
76
-
77
- db_1 | --auth-local and --auth-host, the next time you run initdb.
78
-
79
- db_1 |
80
-
81
- db_1 | Success. You can now start the database server using:
82
-
83
- db_1 |
84
-
85
- db_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start
86
-
87
- db_1 |
88
-
89
- db_1 | waiting for server to start....2020-09-27 08:47:20.369 UTC [45] LOG: starting PostgreSQL 13.0 (Debian 13.0-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
90
-
91
- db_1 | 2020-09-27 08:47:20.372 UTC [45] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
92
-
93
- db_1 | 2020-09-27 08:47:20.379 UTC [46] LOG: database system was shut down at 2020-09-27 08:47:19 UTC
94
-
95
- db_1 | 2020-09-27 08:47:20.382 UTC [45] LOG: database system is ready to accept connections
96
-
97
- db_1 | done
98
-
99
- db_1 | server started
100
-
101
- db_1 |
102
-
103
- db_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
104
-
105
- db_1 |
106
-
107
- db_1 | 2020-09-27 08:47:20.457 UTC [45] LOG: received fast shutdown request
108
-
109
- db_1 | waiting for server to shut down....2020-09-27 08:47:20.458 UTC [45] LOG: aborting any
110
-
111
- active transactions
112
-
113
- db_1 | 2020-09-27 08:47:20.460 UTC [45] LOG: background worker "logical replication launcher" (PID 52) exited with exit code 1
114
-
115
- db_1 | 2020-09-27 08:47:20.461 UTC [47] LOG: shutting down
116
-
117
- db_1 | done
118
-
119
- db_1 | server stopped
120
-
121
- db_1 |
122
-
123
- db_1 | PostgreSQL init process complete; ready for start up.
124
-
125
- db_1 |
126
-
127
- db_1 | 2020-09-27 08:47:20.574 UTC [1] LOG: starting PostgreSQL 13.0 (Debian 13.0-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
128
-
129
- db_1 | 2020-09-27 08:47:20.575 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
130
-
131
- db_1 | 2020-09-27 08:47:20.575 UTC [1] LOG: listening on IPv6 address "::", port 5432
132
-
133
- db_1 | 2020-09-27 08:47:20.580 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
134
-
135
- db_1 | 2020-09-27 08:47:20.587 UTC [54] LOG: database system was shut down at 2020-09-27 08:47:20 UTC
45
+ db_1 | 2020-09-27 09:05:55.266 UTC [24] LOG: database system was shut down at 2020-09-27 09:05:46 UTC
136
46
 
137
47
  web_1 | => Booting Puma
138
48