@@ -128,8 +128,6 @@ avoid port collisions across projects.
128
128
app:
129
129
image: nginx
130
130
depends_on: pgsql
131
- volume:
132
- - ./php:/usr/share/nginx/html
133
131
ports:
134
132
- 80:80 <----- and _not_ like this (local port)
135
133
pgsql:
@@ -139,7 +137,7 @@ avoid port collisions across projects.
139
137
140
138
### HTTP Port
141
139
142
- In order to detect which port "the http port" of you container is, * reception* looks for the well-known ports
140
+ In order to detect which port of you container "the http port" is, * reception* looks for the well-known ports
143
141
80, 8080 and 3000. You can override this behaviour by setting the label ` reception.http-port ` to a port of your choice:
144
142
145
143
version: '2'
@@ -155,7 +153,7 @@ In order to detect which port "the http port" of you container is, *reception* l
155
153
156
154
### Reception can't bind to the ports
157
155
158
- You must run * reception* as privileged user (i.e. ` root ` ) for it to be able to bind to port 53 (dns) and port 80 (http).
156
+ You must run * reception* as privileged user (i.e. ` root ` ) for it to be able to bind to port 53 (dns) and port 80 (http).
159
157
160
158
### _ docker-compose_ projects can't start because of port conflicts
161
159
@@ -166,16 +164,16 @@ version: 2
166
164
services :
167
165
app :
168
166
ports :
169
- -- "80:80"
167
+ - " 80:80"
170
168
` ` `
171
169
172
170
In the case above, you would just replace ` " 80:80" ` with ` 80`.
173
171
174
- ### Is the DNS cache outdated?
172
+ # ## `reception.docker` does not resolve
175
173
176
- ** Note: ** * reception* must be running at this stage already!
174
+ First, check if *reception* is actually running.
177
175
178
- ` nslookup foobar .docker ` should resolve to ` 127.0.0.1 ` or ` ::1 ` .
176
+ Then see if `nslookup reception .docker` resolves to `127.0.0.1` or `::1`.
179
177
180
178
If it doesn't, please flush the DNS cache :
181
179
0 commit comments