We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d117cd commit e402bbfCopy full SHA for e402bbf
docker/php-flex/Dockerfile
@@ -166,6 +166,7 @@ RUN apk add --no-cache nginx
166
COPY ./docker/nginx/files/etc/nginx /etc/nginx
167
168
RUN echo "upstream php-upstream { server 127.0.0.1:9000; }" > /etc/nginx/conf.d/upstream.conf
169
+RUN sed -i 's/listen = 0.0.0.0:9000/listen = 127.0.0.1:9000/g' /usr/local/etc/php-fpm.conf
170
171
EXPOSE 80
172
docs/technical.md
@@ -226,6 +226,8 @@ services:
226
- "DATABASE_URL=postgresql://<USER>:<PASSWORD>@<URL>/<DB>?serverVersion=11&charset=utf8"
227
```
228
229
+The image exposes a `:80` port.
230
+
231
If you want to initialize the DB with production data, run the following command into the container:
232
233
```bash
0 commit comments